#C4A42F#C4A42F
#C4A42F is a light, vivid yellow. Relative luminance 0.385; OKLCH L 72.7% C 0.134 H 92.9°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).
Color values
| HEX | #C4A42F |
|---|---|
| RGB | rgb(196, 164, 47) |
| HSL | hsl(47, 61%, 48%) |
| HSV | hsv(47, 76%, 77%) |
| CMYK | cmyk(0%, 16.3%, 76%, 23.1%) |
| CIE-LAB | lab(68.38, -0.11, 61.05) |
| CIE-LCH | lch(68.38, 61.05, 90.10°) |
| OKLab | oklab(72.75% -0.0068 0.1338) |
| OKLCH | oklch(72.75% 0.134 92.9) |
| XYZ | xyz(36.5555, 38.4941, 8.1934) |
| Luminance | 0.3849 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 3.08
Ocre
#C69C04
ΔE00 3.67
Yellow Ochre
#CB9D06
ΔE00 4.29
Burnt Yellow
#D5AB09
ΔE00 4.37
Brown Yellow
#B29705
ΔE00 4.74
Dark Gold
#B59410
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C4A42F #2F4FC4
analogous
#C4592F #C4A42F #9AC42F
triadic
#C4A42F #2FC4A4 #A42FC4
tetradic
#C4A42F #2FC459 #2F4FC4 #C42F9A
square
#C4A42F #2FC459 #2F4FC4 #C42F9A
split-complementary
#C4A42F #2F9AC4 #592FC4
monochromatic
#615117 #937B23 #C4A42F #D7BC59 #E3D08A
Accessibility & contrast
On white
2.41
#C4A42F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.70
#C4A42F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C4A42F
8.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C4A42F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C4A42F | 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)
#B6A119
Deuteranopia (green-blind)
#BEAB36
Tritanopia (blue-blind)
#D4968D
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #c4a42f; /* rgb */ color: rgb(196, 164, 47); /* oklch */ color: oklch(72.7% 0.134 92.9);
Tailwind
colors: {
custom: {
50: '#dabe70',
500: '#c4a42f',
950: '#000000',
},
}SCSS
$custom: #c4a42f; $custom-light: #dabe70; $custom-dark: #000000;
JSON
{
"hex": "#c4a42f",
"rgb": {
"r": 196,
"g": 164,
"b": 47
},
"hsl": {
"h": 47.114,
"s": 61.317,
"l": 47.647
},
"oklch": {
"l": 0.72749,
"c": 0.13396,
"h": 92.9
},
"luminance": 0.38492
}Semantic roles & 50–950 ramp
primary
#C4A42F
secondary
#8292CD
accent
#66E443
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#151208
muted
#84817B