#C9AC3F#C9AC3F
#C9AC3F is a light, vivid yellow. Relative luminance 0.423; OKLCH L 75.0% C 0.130 H 94.0°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).
Color values
| HEX | #C9AC3F |
|---|---|
| RGB | rgb(201, 172, 63) |
| HSL | hsl(47, 56%, 52%) |
| HSV | hsv(47, 69%, 79%) |
| CMYK | cmyk(0%, 14.4%, 68.7%, 21.2%) |
| CIE-LAB | lab(71.07, -1.41, 57.62) |
| CIE-LCH | lch(71.07, 57.64, 91.40°) |
| OKLab | oklab(75.02% -0.009 0.1293) |
| OKLCH | oklch(75.02% 0.13 94) |
| XYZ | xyz(39.7391, 42.2836, 10.7701) |
| Luminance | 0.4228 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 4.36
Brownish Yellow
#C9B003
ΔE00 4.57
Burnt Yellow
#D5AB09
ΔE00 4.78
Desert
#CCAD60
ΔE00 4.89
Mustard (survey)
#CEB301
ΔE00 4.92
Muddy Yellow
#BFAC05
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C9AC3F #3F5CC9
analogous
#C9673F #C9AC3F #A1C93F
triadic
#C9AC3F #3FC9AC #AC3FC9
tetradic
#C9AC3F #3FC967 #3F5CC9 #C93FA1
square
#C9AC3F #3FC967 #3F5CC9 #C93FA1
split-complementary
#C9AC3F #3FA1C9 #673FC9
monochromatic
#6F5E1F #9E862D #C9AC3F #D6C16F #E4D59F
Accessibility & contrast
On white
2.22
#C9AC3F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.46
#C9AC3F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C9AC3F
9.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C9AC3F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C9AC3F | 1.00 | 2.22 | 9.46 | 9.46 |
| #FFFFFF | 2.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEA931
Deuteranopia (green-blind)
#C5B245
Tritanopia (blue-blind)
#D99F96
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #c9ac3f; /* rgb */ color: rgb(201, 172, 63); /* oklch */ color: oklch(75.0% 0.130 94.0);
Tailwind
colors: {
custom: {
50: '#ddc47a',
500: '#c9ac3f',
950: '#000000',
},
}SCSS
$custom: #c9ac3f; $custom-light: #ddc47a; $custom-dark: #000000;
JSON
{
"hex": "#c9ac3f",
"rgb": {
"r": 201,
"g": 172,
"b": 63
},
"hsl": {
"h": 47.391,
"s": 56.098,
"l": 51.765
},
"oklch": {
"l": 0.75016,
"c": 0.12964,
"h": 94
},
"luminance": 0.42281
}Semantic roles & 50–950 ramp
primary
#C9AC3F
secondary
#94A0D0
accent
#68DF48
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16120A
muted
#84817C