#C8AB3E#C8AB3E
#C8AB3E is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.7% C 0.130 H 94.0°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).
Color values
| HEX | #C8AB3E |
|---|---|
| RGB | rgb(200, 171, 62) |
| HSL | hsl(47, 56%, 51%) |
| HSV | hsv(47, 69%, 78%) |
| CMYK | cmyk(0%, 14.5%, 69%, 21.6%) |
| CIE-LAB | lab(70.70, -1.36, 57.63) |
| CIE-LCH | lch(70.70, 57.65, 91.36°) |
| OKLab | oklab(74.7% -0.0089 0.1292) |
| OKLCH | oklch(74.7% 0.13 94) |
| XYZ | xyz(39.2538, 41.7551, 10.5485) |
| Luminance | 0.4175 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 4.53
Brownish Yellow
#C9B003
ΔE00 4.62
Burnt Yellow
#D5AB09
ΔE00 4.80
Desert
#CCAD60
ΔE00 4.93
Muddy Yellow
#BFAC05
ΔE00 4.93
Mustard (survey)
#CEB301
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C8AB3E #3E5BC8
analogous
#C8663E #C8AB3E #A0C83E
triadic
#C8AB3E #3EC8AB #AB3EC8
tetradic
#C8AB3E #3EC866 #3E5BC8 #C83EA0
square
#C8AB3E #3EC866 #3E5BC8 #C83EA0
split-complementary
#C8AB3E #3EA0C8 #663EC8
monochromatic
#6D5C1F #9C852D #C8AB3E #D6C06E #E3D49D
Accessibility & contrast
On white
2.25
#C8AB3E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.35
#C8AB3E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C8AB3E
9.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C8AB3E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C8AB3E | 1.00 | 2.25 | 9.35 | 9.35 |
| #FFFFFF | 2.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA82F
Deuteranopia (green-blind)
#C4B144
Tritanopia (blue-blind)
#D89E95
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #c8ab3e; /* rgb */ color: rgb(200, 171, 62); /* oklch */ color: oklch(74.7% 0.130 94.0);
Tailwind
colors: {
custom: {
50: '#dcc379',
500: '#c8ab3e',
950: '#000000',
},
}SCSS
$custom: #c8ab3e; $custom-light: #dcc379; $custom-dark: #000000;
JSON
{
"hex": "#c8ab3e",
"rgb": {
"r": 200,
"g": 171,
"b": 62
},
"hsl": {
"h": 47.391,
"s": 55.645,
"l": 51.373
},
"oklch": {
"l": 0.74703,
"c": 0.12952,
"h": 94
},
"luminance": 0.41753
}Semantic roles & 50–950 ramp
primary
#C8AB3E
secondary
#929FCF
accent
#68DF49
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#161209
muted
#84817B