#C8AC3A#C8AC3A
#C8AC3A is a light, vivid yellow. Relative luminance 0.421; OKLCH L 74.9% C 0.133 H 95.0°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).
Color values
| HEX | #C8AC3A |
|---|---|
| RGB | rgb(200, 172, 58) |
| HSL | hsl(48, 56%, 51%) |
| HSV | hsv(48, 71%, 78%) |
| CMYK | cmyk(0%, 14%, 71%, 21.6%) |
| CIE-LAB | lab(70.93, -2.10, 59.49) |
| CIE-LCH | lch(70.93, 59.52, 92.02°) |
| OKLab | oklab(74.88% -0.0115 0.1324) |
| OKLCH | oklch(74.88% 0.133 95) |
| XYZ | xyz(39.3377, 42.0920, 10.0547) |
| Luminance | 0.4209 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Yellow
#C9B003
ΔE00 3.95
Muddy Yellow
#BFAC05
ΔE00 4.30
Mustard
#DBB42C
ΔE00 4.32
Mustard (survey)
#CEB301
ΔE00 4.37
Burnt Yellow
#D5AB09
ΔE00 4.65
Dark Yellow
#D5B60A
ΔE00 4.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C8AC3A #3A56C8
analogous
#C8653A #C8AC3A #9DC83A
triadic
#C8AC3A #3AC8AC #AC3AC8
tetradic
#C8AC3A #3AC865 #3A56C8 #C83A9D
square
#C8AC3A #3AC865 #3A56C8 #C83A9D
split-complementary
#C8AC3A #3A9DC8 #653AC8
monochromatic
#6A5B1E #9A842B #C8AC3A #D5C06A #E3D49A
Accessibility & contrast
On white
2.23
#C8AC3A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.42
#C8AC3A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C8AC3A
9.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C8AC3A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C8AC3A | 1.00 | 2.23 | 9.42 | 9.42 |
| #FFFFFF | 2.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEA929
Deuteranopia (green-blind)
#C5B140
Tritanopia (blue-blind)
#D89F95
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #c8ac3a; /* rgb */ color: rgb(200, 172, 58); /* oklch */ color: oklch(74.9% 0.133 95.0);
Tailwind
colors: {
custom: {
50: '#ddc477',
500: '#c8ac3a',
950: '#000000',
},
}SCSS
$custom: #c8ac3a; $custom-light: #ddc477; $custom-dark: #000000;
JSON
{
"hex": "#c8ac3a",
"rgb": {
"r": 200,
"g": 172,
"b": 58
},
"hsl": {
"h": 48.169,
"s": 56.349,
"l": 50.588
},
"oklch": {
"l": 0.74878,
"c": 0.13293,
"h": 95
},
"luminance": 0.4209
}Semantic roles & 50–950 ramp
primary
#C8AC3A
secondary
#8F9CCE
accent
#66E048
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161209
muted
#84817B