#C0CF4E#C0CF4E
#C0CF4E is a light, vivid yellow. Relative luminance 0.564; OKLCH L 81.8% C 0.152 H 115.5°. Best body text is #000000 at 12.28:1 contrast (WCAG AA passes).
Color values
| HEX | #C0CF4E |
|---|---|
| RGB | rgb(192, 207, 78) |
| HSL | hsl(67, 57%, 56%) |
| HSV | hsv(67, 62%, 81%) |
| CMYK | cmyk(7.2%, 0%, 62.3%, 18.8%) |
| CIE-LAB | lab(79.83, -22.14, 60.36) |
| CIE-LCH | lch(79.83, 64.29, 110.14°) |
| OKLab | oklab(81.85% -0.0656 0.1377) |
| OKLCH | oklch(81.85% 0.152 115.5) |
| XYZ | xyz(45.4272, 56.3828, 15.6962) |
| Luminance | 0.5638 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 4.37
Baby Puke Green
#B6C406
ΔE00 4.91
Bile
#B5C306
ΔE00 5.02
Greenish Beige
#C9D179
ΔE00 5.55
Pea
#A4BF20
ΔE00 5.61
Snot
#ACBB0D
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C0CF4E #5D4ECF
analogous
#CF9D4E #C0CF4E #7FCF4E
triadic
#C0CF4E #4EC0CF #CF4EC0
tetradic
#C0CF4E #4ECF9D #5D4ECF #CF4E7F
square
#C0CF4E #4ECF9D #5D4ECF #CF4E7F
split-complementary
#C0CF4E #4E7FCF #9D4ECF
monochromatic
#758023 #A1B030 #C0CF4E #D1DC7E #E2E9AE
Accessibility & contrast
On white
1.71
#C0CF4E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.28
#C0CF4E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C0CF4E
12.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C0CF4E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C0CF4E | 1.00 | 1.71 | 12.28 | 12.28 |
| #FFFFFF | 1.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DDC53E
Deuteranopia (green-blind)
#DCC757
Tritanopia (blue-blind)
#CBC4B4
Achromatopsia (no color)
#C6C6C6
Design tokens & code
CSS
--color: #c0cf4e; /* rgb */ color: rgb(192, 207, 78); /* oklch */ color: oklch(81.8% 0.152 115.5);
Tailwind
colors: {
custom: {
50: '#d6dd85',
500: '#c0cf4e',
950: '#000000',
},
}SCSS
$custom: #c0cf4e; $custom-light: #d6dd85; $custom-dark: #000000;
JSON
{
"hex": "#c0cf4e",
"rgb": {
"r": 192,
"g": 207,
"b": 78
},
"hsl": {
"h": 66.977,
"s": 57.333,
"l": 55.882
},
"oklch": {
"l": 0.8185,
"c": 0.15248,
"h": 115.5
},
"luminance": 0.56382
}Semantic roles & 50–950 ramp
primary
#C0CF4E
secondary
#433A87
accent
#47E159
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E