#C0CD40#C0CD40
#C0CD40 is a light, vivid yellow. Relative luminance 0.552; OKLCH L 81.3% C 0.160 H 114.6°. Best body text is #000000 at 12.05:1 contrast (WCAG AA passes).
Color values
| HEX | #C0CD40 |
|---|---|
| RGB | rgb(192, 205, 64) |
| HSL | hsl(66, 59%, 53%) |
| HSV | hsv(66, 69%, 80%) |
| CMYK | cmyk(6.3%, 0%, 68.8%, 19.6%) |
| CIE-LAB | lab(79.18, -22.02, 65.20) |
| CIE-LCH | lch(79.18, 68.82, 108.66°) |
| OKLab | oklab(81.3% -0.0666 0.1458) |
| OKLCH | oklch(81.3% 0.16 114.6) |
| XYZ | xyz(44.4962, 55.2401, 13.1679) |
| Luminance | 0.5524 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 3.37
Baby Puke Green
#B6C406
ΔE00 3.54
Bile
#B5C306
ΔE00 3.68
Snot
#ACBB0D
ΔE00 5.15
Pea
#A4BF20
ΔE00 5.16
Gross Green
#A0BF16
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C0CD40 #4D40CD
analogous
#CD9340 #C0CD40 #79CD40
triadic
#C0CD40 #40C0CD #CD40C0
tetradic
#C0CD40 #40CD93 #4D40CD #CD4079
square
#C0CD40 #40CD93 #4D40CD #CD4079
split-complementary
#C0CD40 #4079CD #9340CD
monochromatic
#6C741E #99A52B #C0CD40 #D0DA71 #E0E6A1
Accessibility & contrast
On white
1.74
#C0CD40 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.05
#C0CD40 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C0CD40
12.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C0CD40 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C0CD40 | 1.00 | 1.74 | 12.05 | 12.05 |
| #FFFFFF | 1.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DCC329
Deuteranopia (green-blind)
#DBC54B
Tritanopia (blue-blind)
#CCC1B1
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #c0cd40; /* rgb */ color: rgb(192, 205, 64); /* oklch */ color: oklch(81.3% 0.160 114.6);
Tailwind
colors: {
custom: {
50: '#d6dc7d',
500: '#c0cd40',
950: '#000000',
},
}SCSS
$custom: #c0cd40; $custom-light: #d6dc7d; $custom-dark: #000000;
JSON
{
"hex": "#c0cd40",
"rgb": {
"r": 192,
"g": 205,
"b": 64
},
"hsl": {
"h": 65.532,
"s": 58.506,
"l": 52.745
},
"oklch": {
"l": 0.81295,
"c": 0.16026,
"h": 114.6
},
"luminance": 0.55239
}Semantic roles & 50–950 ramp
primary
#C0CD40
secondary
#3B347D
accent
#46E254
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15150A
muted
#84847D