#C0CD34#C0CD34
#C0CD34 is a light, vivid yellow. Relative luminance 0.551; OKLCH L 81.2% C 0.167 H 114.5°. Best body text is #000000 at 12.02:1 contrast (WCAG AA passes).
Color values
| HEX | #C0CD34 |
|---|---|
| RGB | rgb(192, 205, 52) |
| HSL | hsl(65, 60%, 50%) |
| HSV | hsv(65, 75%, 80%) |
| CMYK | cmyk(6.3%, 0%, 74.6%, 19.6%) |
| CIE-LAB | lab(79.11, -22.61, 69.28) |
| CIE-LCH | lch(79.11, 72.88, 108.07°) |
| OKLab | oklab(81.22% -0.0693 0.1524) |
| OKLCH | oklch(81.22% 0.167 114.5) |
| XYZ | xyz(44.1907, 55.1179, 11.5591) |
| Luminance | 0.5512 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 2.71
Baby Puke Green
#B6C406
ΔE00 2.84
Bile
#B5C306
ΔE00 3.03
Snot
#ACBB0D
ΔE00 4.86
Pea
#A4BF20
ΔE00 5.18
Puke Yellow
#C2BE0E
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C0CD34 #4134CD
analogous
#CD8D34 #C0CD34 #73CD34
triadic
#C0CD34 #34C0CD #CD34C0
tetradic
#C0CD34 #34CD8D #4134CD #CD3473
square
#C0CD34 #34CD8D #4134CD #CD3473
split-complementary
#C0CD34 #3473CD #8D34CD
monochromatic
#656C1B #939D27 #C0CD34 #CFD965 #DEE596
Accessibility & contrast
On white
1.75
#C0CD34 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.02
#C0CD34 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C0CD34
12.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C0CD34 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C0CD34 | 1.00 | 1.75 | 12.02 | 12.02 |
| #FFFFFF | 1.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DCC30F
Deuteranopia (green-blind)
#DBC541
Tritanopia (blue-blind)
#CDC1B0
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #c0cd34; /* rgb */ color: rgb(192, 205, 52); /* oklch */ color: oklch(81.2% 0.167 114.5);
Tailwind
colors: {
custom: {
50: '#d7dc77',
500: '#c0cd34',
950: '#000000',
},
}SCSS
$custom: #c0cd34; $custom-light: #d7dc77; $custom-dark: #000000;
JSON
{
"hex": "#c0cd34",
"rgb": {
"r": 192,
"g": 205,
"b": 52
},
"hsl": {
"h": 65.098,
"s": 60.474,
"l": 50.392
},
"oklch": {
"l": 0.81216,
"c": 0.16738,
"h": 114.5
},
"luminance": 0.55117
}Semantic roles & 50–950 ramp
primary
#C0CD34
secondary
#363076
accent
#44E452
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#15150A
muted
#84847D