#C4A52B#C4A52B
#C4A52B is a light, vivid yellow. Relative luminance 0.388; OKLCH L 72.9% C 0.137 H 93.8°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).
Color values
| HEX | #C4A52B |
|---|---|
| RGB | rgb(196, 165, 43) |
| HSL | hsl(48, 64%, 47%) |
| HSV | hsv(48, 78%, 77%) |
| CMYK | cmyk(0%, 15.8%, 78.1%, 23.1%) |
| CIE-LAB | lab(68.62, -0.80, 62.67) |
| CIE-LCH | lch(68.62, 62.67, 90.73°) |
| OKLab | oklab(72.93% -0.0091 0.1364) |
| OKLCH | oklch(72.93% 0.137 93.8) |
| XYZ | xyz(36.6582, 38.8226, 7.8477) |
| Luminance | 0.3882 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 3.21
Ocre
#C69C04
ΔE00 3.86
Burnt Yellow
#D5AB09
ΔE00 4.18
Brownish Yellow
#C9B003
ΔE00 4.44
Yellow Ochre
#CB9D06
ΔE00 4.53
Muddy Yellow
#BFAC05
ΔE00 4.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C4A52B #2B4AC4
analogous
#C4592B #C4A52B #97C42B
triadic
#C4A52B #2BC4A5 #A52BC4
tetradic
#C4A52B #2BC459 #2B4AC4 #C42B97
square
#C4A52B #2BC459 #2B4AC4 #C42B97
split-complementary
#C4A52B #2B97C4 #592BC4
monochromatic
#605015 #927B20 #C4A52B #D9BE53 #E4D185
Accessibility & contrast
On white
2.40
#C4A52B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.76
#C4A52B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C4A52B
8.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C4A52B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C4A52B | 1.00 | 2.40 | 8.76 | 8.76 |
| #FFFFFF | 2.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A210
Deuteranopia (green-blind)
#BFAB33
Tritanopia (blue-blind)
#D4978E
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #c4a52b; /* rgb */ color: rgb(196, 165, 43); /* oklch */ color: oklch(72.9% 0.137 93.8);
Tailwind
colors: {
custom: {
50: '#dabf6e',
500: '#c4a52b',
950: '#000000',
},
}SCSS
$custom: #c4a52b; $custom-light: #dabf6e; $custom-dark: #000000;
JSON
{
"hex": "#c4a52b",
"rgb": {
"r": 196,
"g": 165,
"b": 43
},
"hsl": {
"h": 47.843,
"s": 64.017,
"l": 46.863
},
"oklch": {
"l": 0.72931,
"c": 0.13675,
"h": 93.8
},
"luminance": 0.3882
}Semantic roles & 50–950 ramp
primary
#C4A52B
secondary
#7D8ECE
accent
#62E741
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#161208
muted
#84817B