#C4A42E#C4A42E
#C4A42E is a light, vivid yellow. Relative luminance 0.385; OKLCH L 72.7% C 0.135 H 93.0°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).
Color values
| HEX | #C4A42E |
|---|---|
| RGB | rgb(196, 164, 46) |
| HSL | hsl(47, 62%, 47%) |
| HSV | hsv(47, 77%, 77%) |
| CMYK | cmyk(0%, 16.3%, 76.5%, 23.1%) |
| CIE-LAB | lab(68.38, -0.15, 61.40) |
| CIE-LCH | lch(68.38, 61.40, 90.14°) |
| OKLab | oklab(72.74% -0.007 0.1343) |
| OKLCH | oklch(72.74% 0.135 93) |
| XYZ | xyz(36.5356, 38.4861, 8.0884) |
| Luminance | 0.3848 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 3.04
Ocre
#C69C04
ΔE00 3.63
Yellow Ochre
#CB9D06
ΔE00 4.26
Burnt Yellow
#D5AB09
ΔE00 4.32
Brown Yellow
#B29705
ΔE00 4.71
Dark Gold
#B59410
ΔE00 4.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C4A42E #2E4EC4
analogous
#C4592E #C4A42E #99C42E
triadic
#C4A42E #2EC4A4 #A42EC4
tetradic
#C4A42E #2EC459 #2E4EC4 #C42E99
square
#C4A42E #2EC459 #2E4EC4 #C42E99
split-complementary
#C4A42E #2E99C4 #592EC4
monochromatic
#615117 #927B22 #C4A42E #D8BC58 #E3D089
Accessibility & contrast
On white
2.41
#C4A42E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.70
#C4A42E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C4A42E
8.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C4A42E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C4A42E | 1.00 | 2.41 | 8.70 | 8.70 |
| #FFFFFF | 2.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B6A117
Deuteranopia (green-blind)
#BEAB35
Tritanopia (blue-blind)
#D4968D
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #c4a42e; /* rgb */ color: rgb(196, 164, 46); /* oklch */ color: oklch(72.7% 0.135 93.0);
Tailwind
colors: {
custom: {
50: '#dabe70',
500: '#c4a42e',
950: '#000000',
},
}SCSS
$custom: #c4a42e; $custom-light: #dabe70; $custom-dark: #000000;
JSON
{
"hex": "#c4a42e",
"rgb": {
"r": 196,
"g": 164,
"b": 46
},
"hsl": {
"h": 47.2,
"s": 61.983,
"l": 47.451
},
"oklch": {
"l": 0.72743,
"c": 0.13452,
"h": 93
},
"luminance": 0.38484
}Semantic roles & 50–950 ramp
primary
#C4A42E
secondary
#8191CD
accent
#65E543
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#161208
muted
#84817B