#C5AB3E#C5AB3E
#C5AB3E is a light, vivid yellow. Relative luminance 0.413; OKLCH L 74.4% C 0.129 H 95.5°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).
Color values
| HEX | #C5AB3E |
|---|---|
| RGB | rgb(197, 171, 62) |
| HSL | hsl(48, 54%, 51%) |
| HSV | hsv(48, 69%, 77%) |
| CMYK | cmyk(0%, 13.2%, 68.5%, 22.7%) |
| CIE-LAB | lab(70.42, -2.67, 57.25) |
| CIE-LCH | lch(70.42, 57.31, 92.67°) |
| OKLab | oklab(74.41% -0.0125 0.1285) |
| OKLCH | oklch(74.41% 0.129 95.5) |
| XYZ | xyz(38.4602, 41.3459, 10.5113) |
| Luminance | 0.4134 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 4.44
Brownish Yellow
#C9B003
ΔE00 4.47
Mustard (survey)
#CEB301
ΔE00 4.99
Mustard
#DBB42C
ΔE00 5.13
Desert
#CCAD60
ΔE00 5.27
Burnt Yellow
#D5AB09
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C5AB3E #3E58C5
analogous
#C5673E #C5AB3E #9CC53E
triadic
#C5AB3E #3EC5AB #AB3EC5
tetradic
#C5AB3E #3EC567 #3E58C5 #C53E9C
square
#C5AB3E #3EC567 #3E58C5 #C53E9C
split-complementary
#C5AB3E #3E9CC5 #673EC5
monochromatic
#695B20 #98842E #C5AB3E #D3BF6D #E1D49C
Accessibility & contrast
On white
2.27
#C5AB3E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.27
#C5AB3E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C5AB3E
9.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C5AB3E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C5AB3E | 1.00 | 2.27 | 9.27 | 9.27 |
| #FFFFFF | 2.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA72F
Deuteranopia (green-blind)
#C3B044
Tritanopia (blue-blind)
#D49E95
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #c5ab3e; /* rgb */ color: rgb(197, 171, 62); /* oklch */ color: oklch(74.4% 0.129 95.5);
Tailwind
colors: {
custom: {
50: '#dac379',
500: '#c5ab3e',
950: '#000000',
},
}SCSS
$custom: #c5ab3e; $custom-light: #dac379; $custom-dark: #000000;
JSON
{
"hex": "#c5ab3e",
"rgb": {
"r": 197,
"g": 171,
"b": 62
},
"hsl": {
"h": 48.444,
"s": 53.785,
"l": 50.784
},
"oklch": {
"l": 0.74412,
"c": 0.12911,
"h": 95.5
},
"luminance": 0.41344
}Semantic roles & 50–950 ramp
primary
#C5AB3E
secondary
#919DCD
accent
#67DD4B
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#151209
muted
#83817B