#C4A42B#C4A42B
#C4A42B is a light, vivid yellow. Relative luminance 0.385; OKLCH L 72.7% C 0.136 H 93.2°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).
Color values
| HEX | #C4A42B |
|---|---|
| RGB | rgb(196, 164, 43) |
| HSL | hsl(47, 64%, 47%) |
| HSV | hsv(47, 78%, 77%) |
| CMYK | cmyk(0%, 16.3%, 78.1%, 23.1%) |
| CIE-LAB | lab(68.36, -0.26, 62.43) |
| CIE-LCH | lch(68.36, 62.43, 90.24°) |
| OKLab | oklab(72.72% -0.0076 0.1359) |
| OKLCH | oklch(72.72% 0.136 93.2) |
| XYZ | xyz(36.4785, 38.4633, 7.7878) |
| Luminance | 0.3846 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 2.93
Ocre
#C69C04
ΔE00 3.54
Burnt Yellow
#D5AB09
ΔE00 4.18
Yellow Ochre
#CB9D06
ΔE00 4.20
Brown Yellow
#B29705
ΔE00 4.61
Brownish Yellow
#C9B003
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C4A42B #2B4BC4
analogous
#C4582B #C4A42B #98C42B
triadic
#C4A42B #2BC4A4 #A42BC4
tetradic
#C4A42B #2BC458 #2B4BC4 #C42B98
square
#C4A42B #2BC458 #2B4BC4 #C42B98
split-complementary
#C4A42B #2B98C4 #582BC4
monochromatic
#605015 #927A20 #C4A42B #D9BD53 #E4D085
Accessibility & contrast
On white
2.42
#C4A42B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.69
#C4A42B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C4A42B
8.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C4A42B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C4A42B | 1.00 | 2.42 | 8.69 | 8.69 |
| #FFFFFF | 2.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B6A111
Deuteranopia (green-blind)
#BEAB33
Tritanopia (blue-blind)
#D4968D
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #c4a42b; /* rgb */ color: rgb(196, 164, 43); /* oklch */ color: oklch(72.7% 0.136 93.2);
Tailwind
colors: {
custom: {
50: '#dabe6e',
500: '#c4a42b',
950: '#000000',
},
}SCSS
$custom: #c4a42b; $custom-light: #dabe6e; $custom-dark: #000000;
JSON
{
"hex": "#c4a42b",
"rgb": {
"r": 196,
"g": 164,
"b": 43
},
"hsl": {
"h": 47.451,
"s": 64.017,
"l": 46.863
},
"oklch": {
"l": 0.72724,
"c": 0.13613,
"h": 93.2
},
"luminance": 0.38461
}Semantic roles & 50–950 ramp
primary
#C4A42B
secondary
#7D8ECE
accent
#64E741
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#161208
muted
#84817B