#C4A52E#C4A52E
#C4A52E is a light, vivid yellow. Relative luminance 0.388; OKLCH L 73.0% C 0.135 H 93.6°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).
Color values
| HEX | #C4A52E |
|---|---|
| RGB | rgb(196, 165, 46) |
| HSL | hsl(48, 62%, 47%) |
| HSV | hsv(48, 77%, 77%) |
| CMYK | cmyk(0%, 15.8%, 76.5%, 23.1%) |
| CIE-LAB | lab(68.64, -0.68, 61.65) |
| CIE-LCH | lch(68.64, 61.65, 90.63°) |
| OKLab | oklab(72.95% -0.0085 0.1349) |
| OKLCH | oklch(72.95% 0.135 93.6) |
| XYZ | xyz(36.7153, 38.8454, 8.1483) |
| Luminance | 0.3884 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 3.30
Ocre
#C69C04
ΔE00 3.94
Burnt Yellow
#D5AB09
ΔE00 4.31
Yellow Ochre
#CB9D06
ΔE00 4.58
Brownish Yellow
#C9B003
ΔE00 4.64
Muddy Yellow
#BFAC05
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C4A52E #2E4DC4
analogous
#C45A2E #C4A52E #98C42E
triadic
#C4A52E #2EC4A5 #A52EC4
tetradic
#C4A52E #2EC45A #2E4DC4 #C42E98
square
#C4A52E #2EC45A #2E4DC4 #C42E98
split-complementary
#C4A52E #2E98C4 #5A2EC4
monochromatic
#615217 #927B22 #C4A52E #D8BD58 #E3D189
Accessibility & contrast
On white
2.39
#C4A52E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.77
#C4A52E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C4A52E
8.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C4A52E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C4A52E | 1.00 | 2.39 | 8.77 | 8.77 |
| #FFFFFF | 2.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A217
Deuteranopia (green-blind)
#BFAB35
Tritanopia (blue-blind)
#D4978E
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #c4a52e; /* rgb */ color: rgb(196, 165, 46); /* oklch */ color: oklch(73.0% 0.135 93.6);
Tailwind
colors: {
custom: {
50: '#dabf70',
500: '#c4a52e',
950: '#000000',
},
}SCSS
$custom: #c4a52e; $custom-light: #dabf70; $custom-dark: #000000;
JSON
{
"hex": "#c4a52e",
"rgb": {
"r": 196,
"g": 165,
"b": 46
},
"hsl": {
"h": 47.6,
"s": 61.983,
"l": 47.451
},
"oklch": {
"l": 0.7295,
"c": 0.13514,
"h": 93.6
},
"luminance": 0.38843
}Semantic roles & 50–950 ramp
primary
#C4A52E
secondary
#8190CD
accent
#64E543
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#151208
muted
#84817B