#C0CD3A#C0CD3A
#C0CD3A is a light, vivid yellow. Relative luminance 0.552; OKLCH L 81.3% C 0.164 H 114.5°. Best body text is #000000 at 12.04:1 contrast (WCAG AA passes).
Color values
| HEX | #C0CD3A |
|---|---|
| RGB | rgb(192, 205, 58) |
| HSL | hsl(65, 60%, 52%) |
| HSV | hsv(65, 72%, 80%) |
| CMYK | cmyk(6.3%, 0%, 71.7%, 19.6%) |
| CIE-LAB | lab(79.14, -22.33, 67.31) |
| CIE-LCH | lch(79.14, 70.92, 108.35°) |
| OKLab | oklab(81.25% -0.068 0.1492) |
| OKLCH | oklch(81.25% 0.164 114.5) |
| XYZ | xyz(44.3345, 55.1754, 12.3166) |
| Luminance | 0.5517 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 3.00
Baby Puke Green
#B6C406
ΔE00 3.15
Bile
#B5C306
ΔE00 3.31
Snot
#ACBB0D
ΔE00 4.97
Pea
#A4BF20
ΔE00 5.14
Puke Yellow
#C2BE0E
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C0CD3A #473ACD
analogous
#CD913A #C0CD3A #77CD3A
triadic
#C0CD3A #3AC0CD #CD3AC0
tetradic
#C0CD3A #3ACD91 #473ACD #CD3A77
square
#C0CD3A #3ACD91 #473ACD #CD3A77
split-complementary
#C0CD3A #3A77CD #913ACD
monochromatic
#69701C #96A129 #C0CD3A #D0D96B #DFE69C
Accessibility & contrast
On white
1.74
#C0CD3A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.04
#C0CD3A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C0CD3A
12.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C0CD3A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C0CD3A | 1.00 | 1.74 | 12.04 | 12.04 |
| #FFFFFF | 1.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DCC31E
Deuteranopia (green-blind)
#DBC546
Tritanopia (blue-blind)
#CDC1B1
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #c0cd3a; /* rgb */ color: rgb(192, 205, 58); /* oklch */ color: oklch(81.3% 0.164 114.5);
Tailwind
colors: {
custom: {
50: '#d7dc7a',
500: '#c0cd3a',
950: '#000000',
},
}SCSS
$custom: #c0cd3a; $custom-light: #d7dc7a; $custom-dark: #000000;
JSON
{
"hex": "#c0cd3a",
"rgb": {
"r": 192,
"g": 205,
"b": 58
},
"hsl": {
"h": 65.306,
"s": 59.514,
"l": 51.569
},
"oklch": {
"l": 0.81253,
"c": 0.16401,
"h": 114.5
},
"luminance": 0.55175
}Semantic roles & 50–950 ramp
primary
#C0CD3A
secondary
#383279
accent
#45E353
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15150A
muted
#84847D