#CFDA4F#CFDA4F
#CFDA4F is a very light, vivid yellow. Relative luminance 0.640; OKLCH L 85.4% C 0.160 H 113.6°. Best body text is #000000 at 13.79:1 contrast (WCAG AA passes).
Color values
| HEX | #CFDA4F |
|---|---|
| RGB | rgb(207, 218, 79) |
| HSL | hsl(65, 65%, 58%) |
| HSV | hsv(65, 64%, 85%) |
| CMYK | cmyk(5%, 0%, 63.8%, 14.5%) |
| CIE-LAB | lab(83.95, -21.32, 64.65) |
| CIE-LCH | lch(83.95, 68.08, 108.25°) |
| OKLab | oklab(85.43% -0.0641 0.1465) |
| OKLCH | oklch(85.43% 0.16 113.6) |
| XYZ | xyz(52.2162, 63.9737, 16.9931) |
| Luminance | 0.6397 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sickly Yellow
#D0E429
ΔE00 4.01
Green Yellow
#B5CE08
ΔE00 5.21
Piss Yellow
#DDD618
ΔE00 6.01
Baby Puke Green
#B6C406
ΔE00 6.29
Yellowish Green
#B0DD16
ΔE00 6.42
Bile
#B5C306
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFDA4F #5A4FDA
analogous
#DA9F4F #CFDA4F #89DA4F
triadic
#CFDA4F #4FCFDA #DA4FCF
tetradic
#CFDA4F #4FDA9F #5A4FDA #DA4F89
square
#CFDA4F #4FDA9F #5A4FDA #DA4F89
split-complementary
#CFDA4F #4F89DA #9F4FDA
monochromatic
#87901E #B7C329 #CFDA4F #DDE582 #EBEFB4
Accessibility & contrast
On white
1.52
#CFDA4F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.79
#CFDA4F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFDA4F
13.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFDA4F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFDA4F | 1.00 | 1.52 | 13.79 | 13.79 |
| #FFFFFF | 1.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E9D03D
Deuteranopia (green-blind)
#E9D358
Tritanopia (blue-blind)
#DCCEBD
Achromatopsia (no color)
#D1D1D1
Design tokens & code
CSS
--color: #cfda4f; /* rgb */ color: rgb(207, 218, 79); /* oklch */ color: oklch(85.4% 0.160 113.6);
Tailwind
colors: {
custom: {
50: '#e1e587',
500: '#cfda4f',
950: '#000000',
},
}SCSS
$custom: #cfda4f; $custom-light: #e1e587; $custom-dark: #000000;
JSON
{
"hex": "#cfda4f",
"rgb": {
"r": 207,
"g": 218,
"b": 79
},
"hsl": {
"h": 64.748,
"s": 65.258,
"l": 58.235
},
"oklch": {
"l": 0.85431,
"c": 0.15991,
"h": 113.6
},
"luminance": 0.63973
}Semantic roles & 50–950 ramp
primary
#CFDA4F
secondary
#3F3895
accent
#40E84D
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F