#F9DC66#F9DC66
#F9DC66 is a very light, vivid yellow. Relative luminance 0.723; OKLCH L 89.6% C 0.140 H 95.6°. Best body text is #000000 at 15.46:1 contrast (WCAG AA passes).
Color values
| HEX | #F9DC66 |
|---|---|
| RGB | rgb(249, 220, 102) |
| HSL | hsl(48, 92%, 69%) |
| HSV | hsv(48, 59%, 98%) |
| CMYK | cmyk(0%, 11.6%, 59%, 2.4%) |
| CIE-LAB | lab(88.11, -3.61, 60.40) |
| CIE-LCH | lch(88.11, 60.51, 93.42°) |
| OKLab | oklab(89.63% -0.0137 0.1396) |
| OKLCH | oklch(89.63% 0.14 95.6) |
| XYZ | xyz(67.0612, 72.2886, 22.9885) |
| Luminance | 0.7228 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pale Gold
#FDDE6C
ΔE00 0.95
Sand Yellow
#FCE166
ΔE00 1.31
Light Gold
#FDDC5C
ΔE00 1.45
Yellow Tan
#FFE36E
ΔE00 1.55
Light Mustard
#F7D560
ΔE00 1.97
Maize
#F4D054
ΔE00 3.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F9DC66 #6683F9
analogous
#F99366 #F9DC66 #CDF966
triadic
#F9DC66 #66F9DC #DC66F9
tetradic
#F9DC66 #66F993 #6683F9 #F966CD
square
#F9DC66 #66F993 #6683F9 #F966CD
split-complementary
#F9DC66 #66CDF9 #9366F9
monochromatic
#DCB209 #F7CF2B #F9DC66 #FBE9A1 #FEF7DC
Accessibility & contrast
On white
1.36
#F9DC66 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.46
#F9DC66 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F9DC66
15.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F9DC66 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F9DC66 | 1.00 | 1.36 | 15.46 | 15.46 |
| #FFFFFF | 1.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F0D85A
Deuteranopia (green-blind)
#F7E16B
Tritanopia (blue-blind)
#FFCDC2
Achromatopsia (no color)
#DDDDDD
Design tokens & code
CSS
--color: #f9dc66; /* rgb */ color: rgb(249, 220, 102); /* oklch */ color: oklch(89.6% 0.140 95.6);
Tailwind
colors: {
custom: {
50: '#fee695',
500: '#f9dc66',
950: '#000000',
},
}SCSS
$custom: #f9dc66; $custom-light: #fee695; $custom-dark: #000000;
JSON
{
"hex": "#f9dc66",
"rgb": {
"r": 249,
"g": 220,
"b": 102
},
"hsl": {
"h": 48.163,
"s": 92.453,
"l": 68.824
},
"oklch": {
"l": 0.89629,
"c": 0.14026,
"h": 95.6
},
"luminance": 0.72285
}Semantic roles & 50–950 ramp
primary
#F9DC66
secondary
#3050D3
accent
#2DE600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F