#C4C62A#C4C62A
#C4C62A is a light, vivid yellow. Relative luminance 0.523; OKLCH L 80.0% C 0.164 H 110.4°. Best body text is #000000 at 11.46:1 contrast (WCAG AA passes).
Color values
| HEX | #C4C62A |
|---|---|
| RGB | rgb(196, 198, 42) |
| HSL | hsl(61, 65%, 47%) |
| HSV | hsv(61, 79%, 78%) |
| CMYK | cmyk(1%, 0%, 78.8%, 22.4%) |
| CIE-LAB | lab(77.46, -17.86, 70.90) |
| CIE-LCH | lch(77.46, 73.12, 104.14°) |
| OKLab | oklab(79.95% -0.0572 0.1539) |
| OKLCH | oklch(79.95% 0.164 110.4) |
| XYZ | xyz(43.3786, 52.2924, 9.9984) |
| Luminance | 0.5229 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Yellow
#C2BE0E
ΔE00 2.57
Vomit Yellow
#C7C10C
ΔE00 2.58
Baby Puke Green
#B6C406
ΔE00 2.88
Bile
#B5C306
ΔE00 2.98
Dirty Yellow
#CDC50A
ΔE00 3.00
Snot
#ACBB0D
ΔE00 4.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C4C62A #2C2AC6
analogous
#C67A2A #C4C62A #76C62A
triadic
#C4C62A #2AC4C6 #C62AC4
tetradic
#C4C62A #2AC67A #2C2AC6 #C62A76
square
#C4C62A #2AC67A #2C2AC6 #C62A76
split-complementary
#C4C62A #2A76C6 #7A2AC6
monochromatic
#606115 #92941F #C4C62A #D9DA53 #E4E585
Accessibility & contrast
On white
1.83
#C4C62A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.46
#C4C62A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C4C62A
11.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C4C62A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C4C62A | 1.00 | 1.83 | 11.46 | 11.46 |
| #FFFFFF | 1.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D6BD00
Deuteranopia (green-blind)
#D8C138
Tritanopia (blue-blind)
#D2B9AA
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #c4c62a; /* rgb */ color: rgb(196, 198, 42); /* oklch */ color: oklch(80.0% 0.164 110.4);
Tailwind
colors: {
custom: {
50: '#dad772',
500: '#c4c62a',
950: '#000000',
},
}SCSS
$custom: #c4c62a; $custom-light: #dad772; $custom-dark: #000000;
JSON
{
"hex": "#c4c62a",
"rgb": {
"r": 196,
"g": 198,
"b": 42
},
"hsl": {
"h": 60.769,
"s": 65,
"l": 47.059
},
"oklch": {
"l": 0.79953,
"c": 0.16417,
"h": 110.4
},
"luminance": 0.52291
}Semantic roles & 50–950 ramp
primary
#C4C62A
secondary
#29286C
accent
#40E842
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D