#C0CF39#C0CF39
#C0CF39 is a light, vivid yellow. Relative luminance 0.561; OKLCH L 81.7% C 0.167 H 115.2°. Best body text is #000000 at 12.23:1 contrast (WCAG AA passes).
Color values
| HEX | #C0CF39 |
|---|---|
| RGB | rgb(192, 207, 57) |
| HSL | hsl(66, 61%, 52%) |
| HSV | hsv(66, 72%, 81%) |
| CMYK | cmyk(7.2%, 0%, 72.5%, 18.8%) |
| CIE-LAB | lab(79.69, -23.35, 68.18) |
| CIE-LCH | lch(79.69, 72.07, 108.91°) |
| OKLab | oklab(81.69% -0.0709 0.1509) |
| OKLCH | oklch(81.69% 0.167 115.2) |
| XYZ | xyz(44.7908, 56.1283, 12.3444) |
| Luminance | 0.5613 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 2.70
Baby Puke Green
#B6C406
ΔE00 3.41
Bile
#B5C306
ΔE00 3.59
Pea
#A4BF20
ΔE00 5.28
Sickly Yellow
#D0E429
ΔE00 5.30
Snot
#ACBB0D
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C0CF39 #4839CF
analogous
#CF9339 #C0CF39 #75CF39
triadic
#C0CF39 #39C0CF #CF39C0
tetradic
#C0CF39 #39CF93 #4839CF #CF3975
square
#C0CF39 #39CF93 #4839CF #CF3975
split-complementary
#C0CF39 #3975CF #9339CF
monochromatic
#69721C #97A328 #C0CF39 #D0DB6A #DFE79C
Accessibility & contrast
On white
1.72
#C0CF39 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.23
#C0CF39 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C0CF39
12.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C0CF39 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C0CF39 | 1.00 | 1.72 | 12.23 | 12.23 |
| #FFFFFF | 1.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DEC41B
Deuteranopia (green-blind)
#DDC745
Tritanopia (blue-blind)
#CCC3B2
Achromatopsia (no color)
#C5C5C5
Design tokens & code
CSS
--color: #c0cf39; /* rgb */ color: rgb(192, 207, 57); /* oklch */ color: oklch(81.7% 0.167 115.2);
Tailwind
colors: {
custom: {
50: '#d7dd7a',
500: '#c0cf39',
950: '#000000',
},
}SCSS
$custom: #c0cf39; $custom-light: #d7dd7a; $custom-dark: #000000;
JSON
{
"hex": "#c0cf39",
"rgb": {
"r": 192,
"g": 207,
"b": 57
},
"hsl": {
"h": 66,
"s": 60.976,
"l": 51.765
},
"oklch": {
"l": 0.81688,
"c": 0.16674,
"h": 115.2
},
"luminance": 0.56128
}Semantic roles & 50–950 ramp
primary
#C0CF39
secondary
#39317B
accent
#44E454
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D