#F9EC6C#F9EC6C
#F9EC6C is a very light, vivid yellow. Relative luminance 0.812; OKLCH L 92.9% C 0.149 H 103.5°. Best body text is #000000 at 17.24:1 contrast (WCAG AA passes).
Color values
| HEX | #F9EC6C |
|---|---|
| RGB | rgb(249, 236, 108) |
| HSL | hsl(54, 92%, 70%) |
| HSV | hsv(54, 57%, 98%) |
| CMYK | cmyk(0%, 5.2%, 56.6%, 2.4%) |
| CIE-LAB | lab(92.23, -11.19, 62.39) |
| CIE-LCH | lch(92.23, 63.39, 100.17°) |
| OKLab | oklab(92.91% -0.0348 0.1446) |
| OKLCH | oklch(92.91% 0.149 103.5) |
| XYZ | xyz(71.7715, 81.2159, 26.0801) |
| Luminance | 0.8121 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy Yellow
#FDEE73
ΔE00 0.92
Yellowish
#FAEE66
ΔE00 0.94
Straw
#FCF679
ΔE00 2.61
Dull Yellow
#EEDC5B
ΔE00 3.59
Manilla
#FFFA86
ΔE00 3.78
Custard
#FFFD78
ΔE00 4.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F9EC6C #6C79F9
analogous
#F9A56C #F9EC6C #C0F96C
triadic
#F9EC6C #6CF9EC #EC6CF9
tetradic
#F9EC6C #6CF9A5 #6C79F9 #F96CC0
square
#F9EC6C #6CF9A5 #6C79F9 #F96CC0
split-complementary
#F9EC6C #6CC0F9 #A56CF9
monochromatic
#E1CD09 #F7E431 #F9EC6C #FBF4A7 #FEFBE2
Accessibility & contrast
On white
1.22
#F9EC6C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.24
#F9EC6C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F9EC6C
17.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F9EC6C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F9EC6C | 1.00 | 1.22 | 17.24 | 17.24 |
| #FFFFFF | 1.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE55F
Deuteranopia (green-blind)
#FFEC73
Tritanopia (blue-blind)
#FFDED0
Achromatopsia (no color)
#E9E9E9
Design tokens & code
CSS
--color: #f9ec6c; /* rgb */ color: rgb(249, 236, 108); /* oklch */ color: oklch(92.9% 0.149 103.5);
Tailwind
colors: {
custom: {
50: '#fef19a',
500: '#f9ec6c',
950: '#000000',
},
}SCSS
$custom: #f9ec6c; $custom-light: #fef19a; $custom-dark: #000000;
JSON
{
"hex": "#f9ec6c",
"rgb": {
"r": 249,
"g": 236,
"b": 108
},
"hsl": {
"h": 54.468,
"s": 92.157,
"l": 70
},
"oklch": {
"l": 0.92914,
"c": 0.14868,
"h": 103.5
},
"luminance": 0.81213
}Semantic roles & 50–950 ramp
primary
#F9EC6C
secondary
#3644D4
accent
#15E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F