#C4A52F#C4A52F
#C4A52F is a light, vivid yellow. Relative luminance 0.389; OKLCH L 73.0% C 0.135 H 93.5°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).
Color values
| HEX | #C4A52F |
|---|---|
| RGB | rgb(196, 165, 47) |
| HSL | hsl(48, 61%, 48%) |
| HSV | hsv(48, 76%, 77%) |
| CMYK | cmyk(0%, 15.8%, 76%, 23.1%) |
| CIE-LAB | lab(68.64, -0.64, 61.30) |
| CIE-LCH | lch(68.64, 61.30, 90.60°) |
| OKLab | oklab(72.96% -0.0083 0.1343) |
| OKLCH | oklch(72.96% 0.135 93.5) |
| XYZ | xyz(36.7352, 38.8534, 8.2533) |
| Luminance | 0.3885 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 3.34
Ocre
#C69C04
ΔE00 3.97
Burnt Yellow
#D5AB09
ΔE00 4.36
Yellow Ochre
#CB9D06
ΔE00 4.60
Brownish Yellow
#C9B003
ΔE00 4.71
Muddy Yellow
#BFAC05
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C4A52F #2F4EC4
analogous
#C45B2F #C4A52F #98C42F
triadic
#C4A52F #2FC4A5 #A52FC4
tetradic
#C4A52F #2FC45B #2F4EC4 #C42F98
square
#C4A52F #2FC45B #2F4EC4 #C42F98
split-complementary
#C4A52F #2F98C4 #5B2FC4
monochromatic
#615217 #937B23 #C4A52F #D7BD59 #E3D18A
Accessibility & contrast
On white
2.39
#C4A52F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.77
#C4A52F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C4A52F
8.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C4A52F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C4A52F | 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)
#B7A219
Deuteranopia (green-blind)
#BFAB36
Tritanopia (blue-blind)
#D4978E
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #c4a52f; /* rgb */ color: rgb(196, 165, 47); /* oklch */ color: oklch(73.0% 0.135 93.5);
Tailwind
colors: {
custom: {
50: '#dabf70',
500: '#c4a52f',
950: '#000000',
},
}SCSS
$custom: #c4a52f; $custom-light: #dabf70; $custom-dark: #000000;
JSON
{
"hex": "#c4a52f",
"rgb": {
"r": 196,
"g": 165,
"b": 47
},
"hsl": {
"h": 47.517,
"s": 61.317,
"l": 47.647
},
"oklch": {
"l": 0.72956,
"c": 0.13458,
"h": 93.5
},
"luminance": 0.38851
}Semantic roles & 50–950 ramp
primary
#C4A52F
secondary
#8291CD
accent
#65E443
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#151208
muted
#84817B