#C5AB4E#C5AB4E
#C5AB4E is a light, moderate yellow. Relative luminance 0.415; OKLCH L 74.6% C 0.116 H 93.8°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).
Color values
| HEX | #C5AB4E |
|---|---|
| RGB | rgb(197, 171, 78) |
| HSL | hsl(47, 51%, 54%) |
| HSV | hsv(47, 60%, 77%) |
| CMYK | cmyk(0%, 13.2%, 60.4%, 22.7%) |
| CIE-LAB | lab(70.56, -1.66, 50.32) |
| CIE-LCH | lch(70.56, 50.35, 91.89°) |
| OKLab | oklab(74.57% -0.0077 0.1162) |
| OKLCH | oklch(74.57% 0.116 93.8) |
| XYZ | xyz(38.9657, 41.5481, 13.1734) |
| Luminance | 0.4155 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 3.39
Sandy Brown
#C4A661
ΔE00 4.58
Tan (survey)
#D1B26F
ΔE00 5.62
Sand Brown
#CBA560
ΔE00 6.23
Mustard
#DBB42C
ΔE00 6.23
Muddy Yellow
#BFAC05
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C5AB4E #4E68C5
analogous
#C5704E #C5AB4E #A4C54E
triadic
#C5AB4E #4EC5AB #AB4EC5
tetradic
#C5AB4E #4EC570 #4E68C5 #C54EA4
square
#C5AB4E #4EC570 #4E68C5 #C54EA4
split-complementary
#C5AB4E #4EA4C5 #704EC5
monochromatic
#736226 #A18935 #C5AB4E #D4C17C #E3D7AA
Accessibility & contrast
On white
2.26
#C5AB4E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.31
#C5AB4E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C5AB4E
9.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C5AB4E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C5AB4E | 1.00 | 2.26 | 9.31 | 9.31 |
| #FFFFFF | 2.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA844
Deuteranopia (green-blind)
#C2B052
Tritanopia (blue-blind)
#D49F97
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #c5ab4e; /* rgb */ color: rgb(197, 171, 78); /* oklch */ color: oklch(74.6% 0.116 93.8);
Tailwind
colors: {
custom: {
50: '#d9c383',
500: '#c5ab4e',
950: '#000000',
},
}SCSS
$custom: #c5ab4e; $custom-light: #d9c383; $custom-dark: #000000;
JSON
{
"hex": "#c5ab4e",
"rgb": {
"r": 197,
"g": 171,
"b": 78
},
"hsl": {
"h": 46.891,
"s": 50.638,
"l": 53.922
},
"oklch": {
"l": 0.74568,
"c": 0.11645,
"h": 93.8
},
"luminance": 0.41546
}Semantic roles & 50–950 ramp
primary
#C5AB4E
secondary
#9EA9D1
accent
#6CDA4E
background
#FDFBF8
surface
#FBF7EF
border
#D4D0CA
text
#15120B
muted
#83817C