#FFFF99

#FFFF99 is the hex color Khaki. Here are its RGB, HSL, HSV, CMYK, and OKLCH values, ready-made shades and palettes, and the text colors that stay readable on it.

This is the nearest named color to #FFFF99; the exact match is none.

Open #FFFF99 in the picker

#FFFF99 color codes

HEX
#FFFF99
HEX8
#FFFF99FF
HEX8 (Android)
#FFFFFF99
RGB
rgb(255, 255, 153)
RGB (%)
100%, 100%, 60%
HSL
hsl(60, 100%, 80%)
HSV / HSB
hsv(60, 40%, 100%)
CMYK
cmyk(0%, 0%, 40%, 0%)
OKLCH
oklch(0.9784 0.1244 108.5)
OKLCH (%)
oklch(97.84% 0.1244 108.5)
Decimal
16777113

What color is #FFFF99?

#FFFF99 sits at 98% lightness and 0.1244 chroma in OKLCH, hue 108.5°. Its nearest named color is Khaki.

Shades and tints of #FFFF99

Tints

Shades

Tones

#FFFF99 color harmonies

Complementary

Analogous

Triadic

Split-complementary

Tetradic

Square

Monochromatic

Using #FFFF99 in CSS

.text       { color: #FFFF99; }
.background { background-color: #FFFF99; }
.border     { border: 2px solid #FFFF99; }

/* Modern, perceptually uniform */
.text { color: oklch(0.9784 0.1244 108.5); }

/* #FFFF99 at 50% transparency */
.overlay { background-color: #FFFF9980; }

Is #FFFF99 accessible?

#FFFF99 on white text scores 1.05:1; on black text it scores 20.02:1. Black text passes WCAG AAA on #FFFF99. Recommended text color on a #FFFF99 background: black.

A 20.02:1 vs black
A 1.05:1 vs white
  • AA normal ≥ 4.5 Pass
  • AA large ≥ 3 Pass
  • AAA normal ≥ 7 Pass
  • AAA large ≥ 4.5 Pass

Recommended text color: black

CSS contrast-color() contrast-color(#FFFF99) → black
APCA Lc experimental 102.7 Lc · body text — preferred (black text)

WCAG 2.1 AA/AAA is the compliance floor; APCA is an optional readability metric.

Related colors

Nearest featured color: Gold #FFD700. See more in the yellow family on the colors hub.

Frequently asked questions

What color is #FFFF99?
#FFFF99 is closest to Khaki. In RGB it is rgb(255, 255, 153), and in HSL hsl(60, 100%, 80%).
What is #FFFF99 in RGB?
#FFFF99 converts to rgb(255, 255, 153) — red 255, green 255, blue 153.
What text color is readable on #FFFF99?
Black text — it has the higher contrast ratio (20.02:1) against #FFFF99. Black text passes WCAG AAA on #FFFF99.
Open #FFFF99 in the picker