#C8AC3C#C8AC3C
#C8AC3C is a light, vivid yellow. Relative luminance 0.421; OKLCH L 74.9% C 0.132 H 94.8°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).
Color values
| HEX | #C8AC3C |
|---|---|
| RGB | rgb(200, 172, 60) |
| HSL | hsl(48, 56%, 51%) |
| HSV | hsv(48, 70%, 78%) |
| CMYK | cmyk(0%, 14%, 70%, 21.6%) |
| CIE-LAB | lab(70.95, -2.00, 58.70) |
| CIE-LCH | lch(70.95, 58.73, 91.95°) |
| OKLab | oklab(74.89% -0.011 0.1311) |
| OKLCH | oklch(74.89% 0.132 94.8) |
| XYZ | xyz(39.3895, 42.1128, 10.3279) |
| Luminance | 0.4211 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Yellow
#C9B003
ΔE00 4.16
Mustard
#DBB42C
ΔE00 4.40
Muddy Yellow
#BFAC05
ΔE00 4.48
Mustard (survey)
#CEB301
ΔE00 4.57
Burnt Yellow
#D5AB09
ΔE00 4.78
Dark Yellow
#D5B60A
ΔE00 5.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C8AC3C #3C58C8
analogous
#C8663C #C8AC3C #9EC83C
triadic
#C8AC3C #3CC8AC #AC3CC8
tetradic
#C8AC3C #3CC866 #3C58C8 #C83C9E
square
#C8AC3C #3CC866 #3C58C8 #C83C9E
split-complementary
#C8AC3C #3C9EC8 #663CC8
monochromatic
#6B5C1E #9B852C #C8AC3C #D5C06C #E3D59B
Accessibility & contrast
On white
2.23
#C8AC3C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.42
#C8AC3C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C8AC3C
9.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C8AC3C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C8AC3C | 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)
#BEA92C
Deuteranopia (green-blind)
#C5B142
Tritanopia (blue-blind)
#D89F95
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #c8ac3c; /* rgb */ color: rgb(200, 172, 60); /* oklch */ color: oklch(74.9% 0.132 94.8);
Tailwind
colors: {
custom: {
50: '#dcc478',
500: '#c8ac3c',
950: '#000000',
},
}SCSS
$custom: #c8ac3c; $custom-light: #dcc478; $custom-dark: #000000;
JSON
{
"hex": "#c8ac3c",
"rgb": {
"r": 200,
"g": 172,
"b": 60
},
"hsl": {
"h": 48,
"s": 56,
"l": 50.98
},
"oklch": {
"l": 0.74894,
"c": 0.13159,
"h": 94.8
},
"luminance": 0.42111
}Semantic roles & 50–950 ramp
primary
#C8AC3C
secondary
#919DCF
accent
#67DF49
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161209
muted
#84817B