#C0CB38#C0CB38
#C0CB38 is a light, vivid yellow. Relative luminance 0.542; OKLCH L 80.8% C 0.163 H 113.8°. Best body text is #000000 at 11.84:1 contrast (WCAG AA passes).
Color values
| HEX | #C0CB38 |
|---|---|
| RGB | rgb(192, 203, 56) |
| HSL | hsl(64, 59%, 51%) |
| HSV | hsv(64, 72%, 80%) |
| CMYK | cmyk(5.4%, 0%, 72.4%, 20.4%) |
| CIE-LAB | lab(78.58, -21.45, 67.46) |
| CIE-LCH | lch(78.58, 70.79, 107.64°) |
| OKLab | oklab(80.8% -0.0657 0.1492) |
| OKLCH | oklch(80.8% 0.163 113.8) |
| XYZ | xyz(43.8093, 54.2048, 11.8954) |
| Luminance | 0.5420 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 2.81
Bile
#B5C306
ΔE00 2.96
Green Yellow
#B5CE08
ΔE00 3.24
Snot
#ACBB0D
ΔE00 4.60
Puke Yellow
#C2BE0E
ΔE00 4.98
Pea
#A4BF20
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C0CB38 #4338CB
analogous
#CB8C38 #C0CB38 #76CB38
triadic
#C0CB38 #38C0CB #CB38C0
tetradic
#C0CB38 #38CB8C #4338CB #CB3876
square
#C0CB38 #38CB8C #4338CB #CB3876
split-complementary
#C0CB38 #3876CB #8C38CB
monochromatic
#666C1C #949D29 #C0CB38 #CFD869 #DFE499
Accessibility & contrast
On white
1.77
#C0CB38 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.84
#C0CB38 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C0CB38
11.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C0CB38 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C0CB38 | 1.00 | 1.77 | 11.84 | 11.84 |
| #FFFFFF | 1.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DAC11B
Deuteranopia (green-blind)
#DAC444
Tritanopia (blue-blind)
#CDBFAF
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #c0cb38; /* rgb */ color: rgb(192, 203, 56); /* oklch */ color: oklch(80.8% 0.163 113.8);
Tailwind
colors: {
custom: {
50: '#d7da79',
500: '#c0cb38',
950: '#000000',
},
}SCSS
$custom: #c0cb38; $custom-light: #d7da79; $custom-dark: #000000;
JSON
{
"hex": "#c0cb38",
"rgb": {
"r": 192,
"g": 203,
"b": 56
},
"hsl": {
"h": 64.49,
"s": 58.566,
"l": 50.784
},
"oklch": {
"l": 0.808,
"c": 0.16305,
"h": 113.8
},
"luminance": 0.54204
}Semantic roles & 50–950 ramp
primary
#C0CB38
secondary
#363176
accent
#46E252
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D