#C4C02B#C4C02B
#C4C02B is a light, vivid yellow. Relative luminance 0.496; OKLCH L 78.7% C 0.158 H 107.9°. Best body text is #000000 at 10.92:1 contrast (WCAG AA passes).
Color values
| HEX | #C4C02B |
|---|---|
| RGB | rgb(196, 192, 43) |
| HSL | hsl(58, 64%, 47%) |
| HSV | hsv(58, 78%, 77%) |
| CMYK | cmyk(0%, 2%, 78.1%, 23.1%) |
| CIE-LAB | lab(75.83, -14.82, 69.17) |
| CIE-LCH | lch(75.83, 70.74, 102.09°) |
| OKLab | oklab(78.66% -0.0486 0.1504) |
| OKLCH | oklch(78.66% 0.158 107.9) |
| XYZ | xyz(42.0523, 49.6109, 9.6458) |
| Luminance | 0.4961 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Yellow
#C2BE0E
ΔE00 1.43
Vomit Yellow
#C7C10C
ΔE00 1.75
Dirty Yellow
#CDC50A
ΔE00 2.66
Olive Yellow
#C2B709
ΔE00 3.02
Ugly Yellow
#D0C101
ΔE00 3.58
Bile
#B5C306
ΔE00 4.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C4C02B #2B2FC4
analogous
#C4732B #C4C02B #7CC42B
triadic
#C4C02B #2BC4C0 #C02BC4
tetradic
#C4C02B #2BC473 #2B2FC4 #C42B7C
square
#C4C02B #2BC473 #2B2FC4 #C42B7C
split-complementary
#C4C02B #2B7CC4 #732BC4
monochromatic
#605E15 #928F20 #C4C02B #D9D653 #E4E285
Accessibility & contrast
On white
1.92
#C4C02B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.92
#C4C02B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C4C02B
10.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C4C02B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C4C02B | 1.00 | 1.92 | 10.92 | 10.92 |
| #FFFFFF | 1.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0B800
Deuteranopia (green-blind)
#D3BD38
Tritanopia (blue-blind)
#D3B3A5
Achromatopsia (no color)
#BBBBBB
Design tokens & code
CSS
--color: #c4c02b; /* rgb */ color: rgb(196, 192, 43); /* oklch */ color: oklch(78.7% 0.158 107.9);
Tailwind
colors: {
custom: {
50: '#dad272',
500: '#c4c02b',
950: '#000000',
},
}SCSS
$custom: #c4c02b; $custom-light: #dad272; $custom-dark: #000000;
JSON
{
"hex": "#c4c02b",
"rgb": {
"r": 196,
"g": 192,
"b": 43
},
"hsl": {
"h": 58.431,
"s": 64.017,
"l": 46.863
},
"oklch": {
"l": 0.78656,
"c": 0.15803,
"h": 107.9
},
"luminance": 0.49609
}Semantic roles & 50–950 ramp
primary
#C4C02B
secondary
#7D7FCE
accent
#45E741
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151409
muted
#83827B