#CFD04F#CFD04F
#CFD04F is a very light, vivid yellow. Relative luminance 0.589; OKLCH L 83.3% C 0.149 H 109.7°. Best body text is #000000 at 12.79:1 contrast (WCAG AA passes).
Color values
| HEX | #CFD04F |
|---|---|
| RGB | rgb(207, 208, 79) |
| HSL | hsl(60, 58%, 56%) |
| HSV | hsv(60, 62%, 82%) |
| CMYK | cmyk(0.5%, 0%, 62%, 18.4%) |
| CIE-LAB | lab(81.26, -16.40, 61.81) |
| CIE-LCH | lch(81.26, 63.95, 104.86°) |
| OKLab | oklab(83.28% -0.0502 0.1405) |
| OKLCH | oklch(83.28% 0.149 109.7) |
| XYZ | xyz(49.7008, 58.9430, 16.1547) |
| Luminance | 0.5894 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dirty Yellow
#CDC50A
ΔE00 5.26
Piss Yellow
#DDD618
ΔE00 5.33
Vomit Yellow
#C7C10C
ΔE00 5.43
Baby Puke Green
#B6C406
ΔE00 5.56
Bile
#B5C306
ΔE00 5.70
Puke Yellow
#C2BE0E
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFD04F #504FD0
analogous
#D0914F #CFD04F #8FD04F
triadic
#CFD04F #4FCFD0 #D04FCF
tetradic
#CFD04F #4FD091 #504FD0 #D04F8F
square
#CFD04F #4FD091 #504FD0 #D04F8F
split-complementary
#CFD04F #4F8FD0 #914FD0
monochromatic
#818223 #B1B230 #CFD04F #DCDD7F #E9EAB0
Accessibility & contrast
On white
1.64
#CFD04F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.79
#CFD04F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFD04F
12.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFD04F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFD04F | 1.00 | 1.64 | 12.79 | 12.79 |
| #FFFFFF | 1.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E0C83F
Deuteranopia (green-blind)
#E1CC57
Tritanopia (blue-blind)
#DDC4B5
Achromatopsia (no color)
#CACACA
Design tokens & code
CSS
--color: #cfd04f; /* rgb */ color: rgb(207, 208, 79); /* oklch */ color: oklch(83.3% 0.149 109.7);
Tailwind
colors: {
custom: {
50: '#e1de86',
500: '#cfd04f',
950: '#000000',
},
}SCSS
$custom: #cfd04f; $custom-light: #e1de86; $custom-dark: #000000;
JSON
{
"hex": "#cfd04f",
"rgb": {
"r": 207,
"g": 208,
"b": 79
},
"hsl": {
"h": 60.465,
"s": 57.848,
"l": 56.275
},
"oklch": {
"l": 0.83279,
"c": 0.14922,
"h": 109.7
},
"luminance": 0.58942
}Semantic roles & 50–950 ramp
primary
#CFD04F
secondary
#3B3A89
accent
#47E148
background
#FEFEFC
surface
#FCFCF3
border
#D5D5CD
text
#16150C
muted
#84847F