#C5AB3D#C5AB3D
#C5AB3D is a light, vivid yellow. Relative luminance 0.413; OKLCH L 74.4% C 0.130 H 95.6°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).
Color values
| HEX | #C5AB3D |
|---|---|
| RGB | rgb(197, 171, 61) |
| HSL | hsl(49, 54%, 51%) |
| HSV | hsv(49, 69%, 77%) |
| CMYK | cmyk(0%, 13.2%, 69%, 22.7%) |
| CIE-LAB | lab(70.41, -2.72, 57.65) |
| CIE-LCH | lch(70.41, 57.72, 92.70°) |
| OKLab | oklab(74.4% -0.0127 0.1292) |
| OKLCH | oklch(74.4% 0.13 95.6) |
| XYZ | xyz(38.4331, 41.3351, 10.3681) |
| Luminance | 0.4133 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 4.34
Brownish Yellow
#C9B003
ΔE00 4.36
Mustard (survey)
#CEB301
ΔE00 4.89
Mustard
#DBB42C
ΔE00 5.08
Burnt Yellow
#D5AB09
ΔE00 5.37
Desert
#CCAD60
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C5AB3D #3D57C5
analogous
#C5673D #C5AB3D #9BC53D
triadic
#C5AB3D #3DC5AB #AB3DC5
tetradic
#C5AB3D #3DC567 #3D57C5 #C53D9B
square
#C5AB3D #3DC567 #3D57C5 #C53D9B
split-complementary
#C5AB3D #3D9BC5 #673DC5
monochromatic
#685A1F #98832D #C5AB3D #D3BF6C #E1D49B
Accessibility & contrast
On white
2.27
#C5AB3D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.27
#C5AB3D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C5AB3D
9.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C5AB3D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C5AB3D | 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)
#BCA72E
Deuteranopia (green-blind)
#C3B043
Tritanopia (blue-blind)
#D49E95
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #c5ab3d; /* rgb */ color: rgb(197, 171, 61); /* oklch */ color: oklch(74.4% 0.130 95.6);
Tailwind
colors: {
custom: {
50: '#dac379',
500: '#c5ab3d',
950: '#000000',
},
}SCSS
$custom: #c5ab3d; $custom-light: #dac379; $custom-dark: #000000;
JSON
{
"hex": "#c5ab3d",
"rgb": {
"r": 197,
"g": 171,
"b": 61
},
"hsl": {
"h": 48.529,
"s": 53.968,
"l": 50.588
},
"oklch": {
"l": 0.74404,
"c": 0.12982,
"h": 95.6
},
"luminance": 0.41333
}Semantic roles & 50–950 ramp
primary
#C5AB3D
secondary
#919CCD
accent
#67DD4A
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#151209
muted
#83817B