#C8AC3E#C8AC3E
#C8AC3E is a light, vivid yellow. Relative luminance 0.421; OKLCH L 74.9% C 0.130 H 94.6°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).
Color values
| HEX | #C8AC3E |
|---|---|
| RGB | rgb(200, 172, 62) |
| HSL | hsl(48, 56%, 51%) |
| HSV | hsv(48, 69%, 78%) |
| CMYK | cmyk(0%, 14%, 69%, 21.6%) |
| CIE-LAB | lab(70.96, -1.89, 57.90) |
| CIE-LCH | lch(70.96, 57.93, 91.87°) |
| OKLab | oklab(74.91% -0.0104 0.1298) |
| OKLCH | oklch(74.91% 0.13 94.6) |
| XYZ | xyz(39.4434, 42.1343, 10.6117) |
| Luminance | 0.4213 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Yellow
#C9B003
ΔE00 4.38
Mustard
#DBB42C
ΔE00 4.50
Muddy Yellow
#BFAC05
ΔE00 4.68
Mustard (survey)
#CEB301
ΔE00 4.78
Burnt Yellow
#D5AB09
ΔE00 4.91
Desert
#CCAD60
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C8AC3E #3E5AC8
analogous
#C8673E #C8AC3E #9FC83E
triadic
#C8AC3E #3EC8AC #AC3EC8
tetradic
#C8AC3E #3EC867 #3E5AC8 #C83E9F
square
#C8AC3E #3EC867 #3E5AC8 #C83E9F
split-complementary
#C8AC3E #3E9FC8 #673EC8
monochromatic
#6D5D1F #9C862D #C8AC3E #D6C06E #E3D59D
Accessibility & contrast
On white
2.23
#C8AC3E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.43
#C8AC3E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C8AC3E
9.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C8AC3E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C8AC3E | 1.00 | 2.23 | 9.43 | 9.43 |
| #FFFFFF | 2.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEA92F
Deuteranopia (green-blind)
#C5B144
Tritanopia (blue-blind)
#D89F95
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #c8ac3e; /* rgb */ color: rgb(200, 172, 62); /* oklch */ color: oklch(74.9% 0.130 94.6);
Tailwind
colors: {
custom: {
50: '#dcc479',
500: '#c8ac3e',
950: '#000000',
},
}SCSS
$custom: #c8ac3e; $custom-light: #dcc479; $custom-dark: #000000;
JSON
{
"hex": "#c8ac3e",
"rgb": {
"r": 200,
"g": 172,
"b": 62
},
"hsl": {
"h": 47.826,
"s": 55.645,
"l": 51.373
},
"oklch": {
"l": 0.7491,
"c": 0.1302,
"h": 94.6
},
"luminance": 0.42132
}Semantic roles & 50–950 ramp
primary
#C8AC3E
secondary
#929FCF
accent
#67DF49
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161209
muted
#84817B