#C9AB3D#C9AB3D
#C9AB3D is a light, vivid yellow. Relative luminance 0.419; OKLCH L 74.8% C 0.130 H 93.5°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).
Color values
| HEX | #C9AB3D |
|---|---|
| RGB | rgb(201, 171, 61) |
| HSL | hsl(47, 56%, 51%) |
| HSV | hsv(47, 70%, 79%) |
| CMYK | cmyk(0%, 14.9%, 69.7%, 21.2%) |
| CIE-LAB | lab(70.79, -0.98, 58.16) |
| CIE-LCH | lch(70.79, 58.17, 90.97°) |
| OKLab | oklab(74.79% -0.008 0.1301) |
| OKLCH | oklch(74.79% 0.13 93.5) |
| XYZ | xyz(39.4946, 41.8824, 10.4178) |
| Luminance | 0.4188 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 4.29
Burnt Yellow
#D5AB09
ΔE00 4.54
Brownish Yellow
#C9B003
ΔE00 4.61
Desert
#CCAD60
ΔE00 4.95
Mustard (survey)
#CEB301
ΔE00 4.96
Muddy Yellow
#BFAC05
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C9AB3D #3D5BC9
analogous
#C9653D #C9AB3D #A1C93D
triadic
#C9AB3D #3DC9AB #AB3DC9
tetradic
#C9AB3D #3DC965 #3D5BC9 #C93DA1
square
#C9AB3D #3DC965 #3D5BC9 #C93DA1
split-complementary
#C9AB3D #3DA1C9 #653DC9
monochromatic
#6D5C1E #9D852C #C9AB3D #D6C06D #E4D49D
Accessibility & contrast
On white
2.24
#C9AB3D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.38
#C9AB3D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C9AB3D
9.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C9AB3D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C9AB3D | 1.00 | 2.24 | 9.38 | 9.38 |
| #FFFFFF | 2.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA82E
Deuteranopia (green-blind)
#C4B143
Tritanopia (blue-blind)
#D99E95
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #c9ab3d; /* rgb */ color: rgb(201, 171, 61); /* oklch */ color: oklch(74.8% 0.130 93.5);
Tailwind
colors: {
custom: {
50: '#ddc379',
500: '#c9ab3d',
950: '#000000',
},
}SCSS
$custom: #c9ab3d; $custom-light: #ddc379; $custom-dark: #000000;
JSON
{
"hex": "#c9ab3d",
"rgb": {
"r": 201,
"g": 171,
"b": 61
},
"hsl": {
"h": 47.143,
"s": 56.452,
"l": 51.373
},
"oklch": {
"l": 0.74793,
"c": 0.13038,
"h": 93.5
},
"luminance": 0.4188
}Semantic roles & 50–950 ramp
primary
#C9AB3D
secondary
#929FD0
accent
#69E048
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#161209
muted
#84817B