#C5AB3F#C5AB3F
#C5AB3F is a light, vivid yellow. Relative luminance 0.414; OKLCH L 74.4% C 0.128 H 95.5°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).
Color values
| HEX | #C5AB3F |
|---|---|
| RGB | rgb(197, 171, 63) |
| HSL | hsl(48, 54%, 51%) |
| HSV | hsv(48, 68%, 77%) |
| CMYK | cmyk(0%, 13.2%, 68%, 22.7%) |
| CIE-LAB | lab(70.43, -2.61, 56.84) |
| CIE-LCH | lch(70.43, 56.90, 92.63°) |
| OKLab | oklab(74.42% -0.0122 0.1278) |
| OKLCH | oklch(74.42% 0.128 95.5) |
| XYZ | xyz(38.4879, 41.3570, 10.6571) |
| Luminance | 0.4135 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 4.55
Brownish Yellow
#C9B003
ΔE00 4.58
Mustard (survey)
#CEB301
ΔE00 5.10
Desert
#CCAD60
ΔE00 5.16
Mustard
#DBB42C
ΔE00 5.18
Burnt Yellow
#D5AB09
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C5AB3F #3F59C5
analogous
#C5683F #C5AB3F #9CC53F
triadic
#C5AB3F #3FC5AB #AB3FC5
tetradic
#C5AB3F #3FC568 #3F59C5 #C53F9C
square
#C5AB3F #3FC568 #3F59C5 #C53F9C
split-complementary
#C5AB3F #3F9CC5 #683FC5
monochromatic
#6A5B20 #99842E #C5AB3F #D3C06E #E1D49D
Accessibility & contrast
On white
2.27
#C5AB3F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.27
#C5AB3F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C5AB3F
9.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C5AB3F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C5AB3F | 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)
#BCA831
Deuteranopia (green-blind)
#C3B045
Tritanopia (blue-blind)
#D49E95
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #c5ab3f; /* rgb */ color: rgb(197, 171, 63); /* oklch */ color: oklch(74.4% 0.128 95.5);
Tailwind
colors: {
custom: {
50: '#dac37a',
500: '#c5ab3f',
950: '#000000',
},
}SCSS
$custom: #c5ab3f; $custom-light: #dac37a; $custom-dark: #000000;
JSON
{
"hex": "#c5ab3f",
"rgb": {
"r": 197,
"g": 171,
"b": 63
},
"hsl": {
"h": 48.358,
"s": 53.6,
"l": 50.98
},
"oklch": {
"l": 0.74421,
"c": 0.12839,
"h": 95.5
},
"luminance": 0.41355
}Semantic roles & 50–950 ramp
primary
#C5AB3F
secondary
#929ECE
accent
#67DD4B
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#151209
muted
#83817B