#C2CF42#C2CF42
#C2CF42 is a light, vivid yellow. Relative luminance 0.565; OKLCH L 81.9% C 0.161 H 114.5°. Best body text is #000000 at 12.30:1 contrast (WCAG AA passes).
Color values
| HEX | #C2CF42 |
|---|---|
| RGB | rgb(194, 207, 66) |
| HSL | hsl(66, 59%, 54%) |
| HSV | hsv(66, 68%, 81%) |
| CMYK | cmyk(6.3%, 0%, 68.1%, 18.8%) |
| CIE-LAB | lab(79.89, -22.06, 65.21) |
| CIE-LCH | lch(79.89, 68.84, 108.69°) |
| OKLab | oklab(81.91% -0.0666 0.1461) |
| OKLCH | oklch(81.91% 0.161 114.5) |
| XYZ | xyz(45.5455, 56.4891, 13.6574) |
| Luminance | 0.5649 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 3.47
Baby Puke Green
#B6C406
ΔE00 3.90
Bile
#B5C306
ΔE00 4.06
Pea
#A4BF20
ΔE00 5.58
Sickly Yellow
#D0E429
ΔE00 5.61
Snot
#ACBB0D
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2CF42 #4F42CF
analogous
#CF9542 #C2CF42 #7BCF42
triadic
#C2CF42 #42C2CF #CF42C2
tetradic
#C2CF42 #42CF95 #4F42CF #CF427B
square
#C2CF42 #42CF95 #4F42CF #CF427B
split-complementary
#C2CF42 #427BCF #9542CF
monochromatic
#70781F #9DA92B #C2CF42 #D2DB73 #E2E8A4
Accessibility & contrast
On white
1.71
#C2CF42 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.30
#C2CF42 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2CF42
12.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2CF42 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2CF42 | 1.00 | 1.71 | 12.30 | 12.30 |
| #FFFFFF | 1.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DEC52C
Deuteranopia (green-blind)
#DDC74C
Tritanopia (blue-blind)
#CEC3B3
Achromatopsia (no color)
#C6C6C6
Design tokens & code
CSS
--color: #c2cf42; /* rgb */ color: rgb(194, 207, 66); /* oklch */ color: oklch(81.9% 0.161 114.5);
Tailwind
colors: {
custom: {
50: '#d8dd7f',
500: '#c2cf42',
950: '#000000',
},
}SCSS
$custom: #c2cf42; $custom-light: #d8dd7f; $custom-dark: #000000;
JSON
{
"hex": "#c2cf42",
"rgb": {
"r": 194,
"g": 207,
"b": 66
},
"hsl": {
"h": 65.532,
"s": 59.494,
"l": 53.529
},
"oklch": {
"l": 0.81907,
"c": 0.16055,
"h": 114.5
},
"luminance": 0.56488
}Semantic roles & 50–950 ramp
primary
#C2CF42
secondary
#3C3580
accent
#45E354
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E