#C0CF3A#C0CF3A
#C0CF3A is a light, vivid yellow. Relative luminance 0.561; OKLCH L 81.7% C 0.166 H 115.2°. Best body text is #000000 at 12.23:1 contrast (WCAG AA passes).
Color values
| HEX | #C0CF3A |
|---|---|
| RGB | rgb(192, 207, 58) |
| HSL | hsl(66, 61%, 52%) |
| HSV | hsv(66, 72%, 81%) |
| CMYK | cmyk(7.2%, 0%, 72%, 18.8%) |
| CIE-LAB | lab(79.69, -23.30, 67.84) |
| CIE-LCH | lch(79.69, 71.73, 108.96°) |
| OKLab | oklab(81.69% -0.0707 0.1504) |
| OKLCH | oklch(81.69% 0.166 115.2) |
| XYZ | xyz(44.8160, 56.1384, 12.4771) |
| Luminance | 0.5614 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 2.76
Baby Puke Green
#B6C406
ΔE00 3.46
Bile
#B5C306
ΔE00 3.64
Pea
#A4BF20
ΔE00 5.28
Sickly Yellow
#D0E429
ΔE00 5.33
Snot
#ACBB0D
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C0CF3A #493ACF
analogous
#CF933A #C0CF3A #76CF3A
triadic
#C0CF3A #3AC0CF #CF3AC0
tetradic
#C0CF3A #3ACF93 #493ACF #CF3A76
square
#C0CF3A #3ACF93 #493ACF #CF3A76
split-complementary
#C0CF3A #3A76CF #933ACF
monochromatic
#6A731C #97A428 #C0CF3A #D0DB6B #DFE79C
Accessibility & contrast
On white
1.72
#C0CF3A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.23
#C0CF3A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C0CF3A
12.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C0CF3A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C0CF3A | 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)
#DEC41D
Deuteranopia (green-blind)
#DDC746
Tritanopia (blue-blind)
#CCC3B2
Achromatopsia (no color)
#C5C5C5
Design tokens & code
CSS
--color: #c0cf3a; /* rgb */ color: rgb(192, 207, 58); /* oklch */ color: oklch(81.7% 0.166 115.2);
Tailwind
colors: {
custom: {
50: '#d7dd7a',
500: '#c0cf3a',
950: '#000000',
},
}SCSS
$custom: #c0cf3a; $custom-light: #d7dd7a; $custom-dark: #000000;
JSON
{
"hex": "#c0cf3a",
"rgb": {
"r": 192,
"g": 207,
"b": 58
},
"hsl": {
"h": 66.04,
"s": 60.816,
"l": 51.961
},
"oklch": {
"l": 0.81695,
"c": 0.16616,
"h": 115.2
},
"luminance": 0.56138
}Semantic roles & 50–950 ramp
primary
#C0CF3A
secondary
#39327B
accent
#44E454
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D