#C2CF51#C2CF51
#C2CF51 is a very light, vivid yellow. Relative luminance 0.567; OKLCH L 82.0% C 0.150 H 114.7°. Best body text is #000000 at 12.34:1 contrast (WCAG AA passes).
Color values
| HEX | #C2CF51 |
|---|---|
| RGB | rgb(194, 207, 81) |
| HSL | hsl(66, 57%, 56%) |
| HSV | hsv(66, 61%, 81%) |
| CMYK | cmyk(6.3%, 0%, 60.9%, 18.8%) |
| CIE-LAB | lab(80.00, -21.12, 59.33) |
| CIE-LCH | lch(80.00, 62.98, 109.59°) |
| OKLab | oklab(82.03% -0.0625 0.1358) |
| OKLCH | oklch(82.03% 0.15 114.7) |
| XYZ | xyz(46.0472, 56.6898, 16.2995) |
| Luminance | 0.5669 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 4.75
Baby Puke Green
#B6C406
ΔE00 5.12
Greenish Beige
#C9D179
ΔE00 5.21
Bile
#B5C306
ΔE00 5.22
Pea
#A4BF20
ΔE00 5.95
Snot
#ACBB0D
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2CF51 #5E51CF
analogous
#CF9D51 #C2CF51 #83CF51
triadic
#C2CF51 #51C2CF #CF51C2
tetradic
#C2CF51 #51CF9D #5E51CF #CF5183
square
#C2CF51 #51CF9D #5E51CF #CF5183
split-complementary
#C2CF51 #5183CF #9D51CF
monochromatic
#788224 #A4B231 #C2CF51 #D3DC81 #E4E9B1
Accessibility & contrast
On white
1.70
#C2CF51 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.34
#C2CF51 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2CF51
12.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2CF51 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2CF51 | 1.00 | 1.70 | 12.34 | 12.34 |
| #FFFFFF | 1.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DDC542
Deuteranopia (green-blind)
#DCC859
Tritanopia (blue-blind)
#CEC4B4
Achromatopsia (no color)
#C6C6C6
Design tokens & code
CSS
--color: #c2cf51; /* rgb */ color: rgb(194, 207, 81); /* oklch */ color: oklch(82.0% 0.150 114.7);
Tailwind
colors: {
custom: {
50: '#d7dd87',
500: '#c2cf51',
950: '#000000',
},
}SCSS
$custom: #c2cf51; $custom-light: #d7dd87; $custom-dark: #000000;
JSON
{
"hex": "#c2cf51",
"rgb": {
"r": 194,
"g": 207,
"b": 81
},
"hsl": {
"h": 66.19,
"s": 56.757,
"l": 56.471
},
"oklch": {
"l": 0.82034,
"c": 0.14954,
"h": 114.7
},
"luminance": 0.56689
}Semantic roles & 50–950 ramp
primary
#C2CF51
secondary
#433B89
accent
#48E057
background
#FEFEFC
surface
#FCFCF3
border
#D5D5CD
text
#15150C
muted
#84847F