#C2CF40#C2CF40
#C2CF40 is a light, vivid yellow. Relative luminance 0.565; OKLCH L 81.9% C 0.162 H 114.5°. Best body text is #000000 at 12.29:1 contrast (WCAG AA passes).
Color values
| HEX | #C2CF40 |
|---|---|
| RGB | rgb(194, 207, 64) |
| HSL | hsl(65, 60%, 53%) |
| HSV | hsv(65, 69%, 81%) |
| CMYK | cmyk(6.3%, 0%, 69.1%, 18.8%) |
| CIE-LAB | lab(79.88, -22.17, 65.94) |
| CIE-LCH | lch(79.88, 69.57, 108.58°) |
| OKLab | oklab(81.89% -0.0671 0.1473) |
| OKLCH | oklch(81.89% 0.162 114.5) |
| XYZ | xyz(45.4876, 56.4660, 13.3523) |
| Luminance | 0.5646 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 3.34
Baby Puke Green
#B6C406
ΔE00 3.77
Bile
#B5C306
ΔE00 3.94
Sickly Yellow
#D0E429
ΔE00 5.52
Snot
#ACBB0D
ΔE00 5.55
Pea
#A4BF20
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2CF40 #4D40CF
analogous
#CF9540 #C2CF40 #7ACF40
triadic
#C2CF40 #40C2CF #CF40C2
tetradic
#C2CF40 #40CF95 #4D40CF #CF407A
square
#C2CF40 #40CF95 #4D40CF #CF407A
split-complementary
#C2CF40 #407ACF #9540CF
monochromatic
#6F771E #9CA82A #C2CF40 #D2DB71 #E1E8A2
Accessibility & contrast
On white
1.71
#C2CF40 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.29
#C2CF40 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2CF40
12.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2CF40 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2CF40 | 1.00 | 1.71 | 12.29 | 12.29 |
| #FFFFFF | 1.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DEC529
Deuteranopia (green-blind)
#DDC74B
Tritanopia (blue-blind)
#CEC3B3
Achromatopsia (no color)
#C6C6C6
Design tokens & code
CSS
--color: #c2cf40; /* rgb */ color: rgb(194, 207, 64); /* oklch */ color: oklch(81.9% 0.162 114.5);
Tailwind
colors: {
custom: {
50: '#d8dd7d',
500: '#c2cf40',
950: '#000000',
},
}SCSS
$custom: #c2cf40; $custom-light: #d8dd7d; $custom-dark: #000000;
JSON
{
"hex": "#c2cf40",
"rgb": {
"r": 194,
"g": 207,
"b": 64
},
"hsl": {
"h": 65.455,
"s": 59.833,
"l": 53.137
},
"oklch": {
"l": 0.81892,
"c": 0.16186,
"h": 114.5
},
"luminance": 0.56465
}Semantic roles & 50–950 ramp
primary
#C2CF40
secondary
#3B347F
accent
#45E353
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D