#C8AA3E#C8AA3E
#C8AA3E is a light, vivid yellow. Relative luminance 0.414; OKLCH L 74.5% C 0.129 H 93.3°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).
Color values
| HEX | #C8AA3E |
|---|---|
| RGB | rgb(200, 170, 62) |
| HSL | hsl(47, 56%, 51%) |
| HSV | hsv(47, 69%, 78%) |
| CMYK | cmyk(0%, 15%, 69%, 21.6%) |
| CIE-LAB | lab(70.44, -0.83, 57.36) |
| CIE-LCH | lch(70.44, 57.37, 90.83°) |
| OKLab | oklab(74.5% -0.0074 0.1286) |
| OKLCH | oklch(74.5% 0.129 93.3) |
| XYZ | xyz(39.0656, 41.3788, 10.4857) |
| Luminance | 0.4138 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 4.59
Burnt Yellow
#D5AB09
ΔE00 4.73
Desert
#CCAD60
ΔE00 4.78
Brownish Yellow
#C9B003
ΔE00 4.89
Ocher
#BF9B0C
ΔE00 5.03
Muddy Yellow
#BFAC05
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C8AA3E #3E5CC8
analogous
#C8653E #C8AA3E #A1C83E
triadic
#C8AA3E #3EC8AA #AA3EC8
tetradic
#C8AA3E #3EC865 #3E5CC8 #C83EA1
square
#C8AA3E #3EC865 #3E5CC8 #C83EA1
split-complementary
#C8AA3E #3EA1C8 #653EC8
monochromatic
#6D5C1F #9C842D #C8AA3E #D6BF6E #E3D49D
Accessibility & contrast
On white
2.26
#C8AA3E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.28
#C8AA3E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C8AA3E
9.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C8AA3E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C8AA3E | 1.00 | 2.26 | 9.28 | 9.28 |
| #FFFFFF | 2.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA730
Deuteranopia (green-blind)
#C3B044
Tritanopia (blue-blind)
#D89D94
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #c8aa3e; /* rgb */ color: rgb(200, 170, 62); /* oklch */ color: oklch(74.5% 0.129 93.3);
Tailwind
colors: {
custom: {
50: '#dcc279',
500: '#c8aa3e',
950: '#000000',
},
}SCSS
$custom: #c8aa3e; $custom-light: #dcc279; $custom-dark: #000000;
JSON
{
"hex": "#c8aa3e",
"rgb": {
"r": 200,
"g": 170,
"b": 62
},
"hsl": {
"h": 46.957,
"s": 55.645,
"l": 51.373
},
"oklch": {
"l": 0.74497,
"c": 0.12886,
"h": 93.3
},
"luminance": 0.41377
}Semantic roles & 50–950 ramp
primary
#C8AA3E
secondary
#92A0CF
accent
#69DF49
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#161209
muted
#84817B