#C2CF4E#C2CF4E
#C2CF4E is a very light, vivid yellow. Relative luminance 0.566; OKLCH L 82.0% C 0.152 H 114.7°. Best body text is #000000 at 12.33:1 contrast (WCAG AA passes).
Color values
| HEX | #C2CF4E |
|---|---|
| RGB | rgb(194, 207, 78) |
| HSL | hsl(66, 57%, 56%) |
| HSV | hsv(66, 62%, 81%) |
| CMYK | cmyk(6.3%, 0%, 62.3%, 18.8%) |
| CIE-LAB | lab(79.98, -21.32, 60.56) |
| CIE-LCH | lch(79.98, 64.21, 109.40°) |
| OKLab | oklab(82.01% -0.0634 0.138) |
| OKLCH | oklch(82.01% 0.152 114.7) |
| XYZ | xyz(45.9372, 56.6458, 15.7201) |
| Luminance | 0.5665 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 4.46
Baby Puke Green
#B6C406
ΔE00 4.84
Bile
#B5C306
ΔE00 4.95
Greenish Beige
#C9D179
ΔE00 5.53
Pea
#A4BF20
ΔE00 5.84
Snot
#ACBB0D
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2CF4E #5B4ECF
analogous
#CF9C4E #C2CF4E #81CF4E
triadic
#C2CF4E #4EC2CF #CF4EC2
tetradic
#C2CF4E #4ECF9C #5B4ECF #CF4E81
square
#C2CF4E #4ECF9C #5B4ECF #CF4E81
split-complementary
#C2CF4E #4E81CF #9C4ECF
monochromatic
#778023 #A3B030 #C2CF4E #D3DC7E #E3E9AE
Accessibility & contrast
On white
1.70
#C2CF4E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.33
#C2CF4E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2CF4E
12.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2CF4E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2CF4E | 1.00 | 1.70 | 12.33 | 12.33 |
| #FFFFFF | 1.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DDC53E
Deuteranopia (green-blind)
#DCC757
Tritanopia (blue-blind)
#CEC4B4
Achromatopsia (no color)
#C6C6C6
Design tokens & code
CSS
--color: #c2cf4e; /* rgb */ color: rgb(194, 207, 78); /* oklch */ color: oklch(82.0% 0.152 114.7);
Tailwind
colors: {
custom: {
50: '#d7dd85',
500: '#c2cf4e',
950: '#000000',
},
}SCSS
$custom: #c2cf4e; $custom-light: #d7dd85; $custom-dark: #000000;
JSON
{
"hex": "#c2cf4e",
"rgb": {
"r": 194,
"g": 207,
"b": 78
},
"hsl": {
"h": 66.047,
"s": 57.333,
"l": 55.882
},
"oklch": {
"l": 0.82006,
"c": 0.15191,
"h": 114.7
},
"luminance": 0.56645
}Semantic roles & 50–950 ramp
primary
#C2CF4E
secondary
#423A87
accent
#47E157
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E