#C4AB3A#C4AB3A
#C4AB3A is a light, vivid yellow. Relative luminance 0.412; OKLCH L 74.3% C 0.132 H 96.4°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).
Color values
| HEX | #C4AB3A |
|---|---|
| RGB | rgb(196, 171, 58) |
| HSL | hsl(49, 54%, 50%) |
| HSV | hsv(49, 70%, 77%) |
| CMYK | cmyk(0%, 12.8%, 70.4%, 23.1%) |
| CIE-LAB | lab(70.29, -3.31, 58.72) |
| CIE-LCH | lch(70.29, 58.82, 93.23°) |
| OKLab | oklab(74.28% -0.0147 0.131) |
| OKLCH | oklch(74.28% 0.132 96.4) |
| XYZ | xyz(38.0935, 41.1690, 9.9421) |
| Luminance | 0.4117 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.89
Brownish Yellow
#C9B003
ΔE00 4.03
Mustard (survey)
#CEB301
ΔE00 4.63
Mustard
#DBB42C
ΔE00 5.19
Dark Yellow
#D5B60A
ΔE00 5.31
Burnt Yellow
#D5AB09
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C4AB3A #3A53C4
analogous
#C4663A #C4AB3A #98C43A
triadic
#C4AB3A #3AC4AB #AB3AC4
tetradic
#C4AB3A #3AC466 #3A53C4 #C43A98
square
#C4AB3A #3AC466 #3A53C4 #C43A98
split-complementary
#C4AB3A #3A98C4 #663AC4
monochromatic
#66591E #95822C #C4AB3A #D3BF69 #E0D398
Accessibility & contrast
On white
2.27
#C4AB3A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.23
#C4AB3A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C4AB3A
9.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C4AB3A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C4AB3A | 1.00 | 2.27 | 9.23 | 9.23 |
| #FFFFFF | 2.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA72A
Deuteranopia (green-blind)
#C3AF40
Tritanopia (blue-blind)
#D39E94
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #c4ab3a; /* rgb */ color: rgb(196, 171, 58); /* oklch */ color: oklch(74.3% 0.132 96.4);
Tailwind
colors: {
custom: {
50: '#dac377',
500: '#c4ab3a',
950: '#000000',
},
}SCSS
$custom: #c4ab3a; $custom-light: #dac377; $custom-dark: #000000;
JSON
{
"hex": "#c4ab3a",
"rgb": {
"r": 196,
"g": 171,
"b": 58
},
"hsl": {
"h": 49.13,
"s": 54.331,
"l": 49.804
},
"oklch": {
"l": 0.74283,
"c": 0.13179,
"h": 96.4
},
"luminance": 0.41167
}Semantic roles & 50–950 ramp
primary
#C4AB3A
secondary
#8E99CC
accent
#65DE4A
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B