#C0CD45#C0CD45
#C0CD45 is a light, vivid yellow. Relative luminance 0.553; OKLCH L 81.3% C 0.157 H 114.6°. Best body text is #000000 at 12.06:1 contrast (WCAG AA passes).
Color values
| HEX | #C0CD45 |
|---|---|
| RGB | rgb(192, 205, 69) |
| HSL | hsl(66, 58%, 54%) |
| HSV | hsv(66, 66%, 80%) |
| CMYK | cmyk(6.3%, 0%, 66.3%, 19.6%) |
| CIE-LAB | lab(79.21, -21.73, 63.33) |
| CIE-LCH | lch(79.21, 66.96, 108.94°) |
| OKLab | oklab(81.33% -0.0653 0.1426) |
| OKLCH | oklch(81.33% 0.157 114.6) |
| XYZ | xyz(44.6449, 55.2996, 13.9511) |
| Luminance | 0.5530 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 3.75
Baby Puke Green
#B6C406
ΔE00 3.92
Bile
#B5C306
ΔE00 4.04
Pea
#A4BF20
ΔE00 5.23
Snot
#ACBB0D
ΔE00 5.35
Gross Green
#A0BF16
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C0CD45 #5245CD
analogous
#CD9645 #C0CD45 #7CCD45
triadic
#C0CD45 #45C0CD #CD45C0
tetradic
#C0CD45 #45CD96 #5245CD #CD457C
square
#C0CD45 #45CD96 #5245CD #CD457C
split-complementary
#C0CD45 #457CCD #9645CD
monochromatic
#6F7720 #9CA82D #C0CD45 #D0DA75 #E1E7A5
Accessibility & contrast
On white
1.74
#C0CD45 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.06
#C0CD45 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C0CD45
12.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C0CD45 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C0CD45 | 1.00 | 1.74 | 12.06 | 12.06 |
| #FFFFFF | 1.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DBC331
Deuteranopia (green-blind)
#DBC54F
Tritanopia (blue-blind)
#CCC1B2
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #c0cd45; /* rgb */ color: rgb(192, 205, 69); /* oklch */ color: oklch(81.3% 0.157 114.6);
Tailwind
colors: {
custom: {
50: '#d6dc80',
500: '#c0cd45',
950: '#000000',
},
}SCSS
$custom: #c0cd45; $custom-light: #d6dc80; $custom-dark: #000000;
JSON
{
"hex": "#c0cd45",
"rgb": {
"r": 192,
"g": 205,
"b": 69
},
"hsl": {
"h": 65.735,
"s": 57.627,
"l": 53.725
},
"oklch": {
"l": 0.81333,
"c": 0.15688,
"h": 114.6
},
"luminance": 0.55299
}Semantic roles & 50–950 ramp
primary
#C0CD45
secondary
#3D3680
accent
#47E156
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15150B
muted
#84847E