#C9AB45#C9AB45
#C9AB45 is a light, vivid yellow. Relative luminance 0.420; OKLCH L 74.9% C 0.125 H 92.7°. Best body text is #000000 at 9.39:1 contrast (WCAG AA passes).
Color values
| HEX | #C9AB45 |
|---|---|
| RGB | rgb(201, 171, 69) |
| HSL | hsl(46, 55%, 53%) |
| HSV | hsv(46, 66%, 79%) |
| CMYK | cmyk(0%, 14.9%, 65.7%, 21.2%) |
| CIE-LAB | lab(70.85, -0.53, 54.83) |
| CIE-LCH | lch(70.85, 54.83, 90.56°) |
| OKLab | oklab(74.86% -0.0058 0.1244) |
| OKLCH | oklch(74.86% 0.125 92.7) |
| XYZ | xyz(39.7264, 41.9752, 11.6386) |
| Luminance | 0.4197 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 3.99
Mustard
#DBB42C
ΔE00 4.83
Burnt Yellow
#D5AB09
ΔE00 5.22
Sandy Brown
#C4A661
ΔE00 5.41
Brownish Yellow
#C9B003
ΔE00 5.53
Ocher
#BF9B0C
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C9AB45 #4563C9
analogous
#C96945 #C9AB45 #A5C945
triadic
#C9AB45 #45C9AB #AB45C9
tetradic
#C9AB45 #45C969 #4563C9 #C945A5
square
#C9AB45 #45C969 #4563C9 #C945A5
split-complementary
#C9AB45 #45A5C9 #6945C9
monochromatic
#726021 #A2882F #C9AB45 #D7C074 #E5D6A4
Accessibility & contrast
On white
2.24
#C9AB45 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.39
#C9AB45 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C9AB45
9.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C9AB45 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C9AB45 | 1.00 | 2.24 | 9.39 | 9.39 |
| #FFFFFF | 2.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA839
Deuteranopia (green-blind)
#C4B14A
Tritanopia (blue-blind)
#D99E95
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #c9ab45; /* rgb */ color: rgb(201, 171, 69); /* oklch */ color: oklch(74.9% 0.125 92.7);
Tailwind
colors: {
custom: {
50: '#ddc37d',
500: '#c9ab45',
950: '#000000',
},
}SCSS
$custom: #c9ab45; $custom-light: #ddc37d; $custom-dark: #000000;
JSON
{
"hex": "#c9ab45",
"rgb": {
"r": 201,
"g": 171,
"b": 69
},
"hsl": {
"h": 46.364,
"s": 55,
"l": 52.941
},
"oklch": {
"l": 0.74864,
"c": 0.12454,
"h": 92.7
},
"luminance": 0.41973
}Semantic roles & 50–950 ramp
primary
#C9AB45
secondary
#98A5D1
accent
#6BDE49
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#16120A
muted
#84817C