#C8AA3F#C8AA3F
#C8AA3F is a light, vivid yellow. Relative luminance 0.414; OKLCH L 74.5% C 0.128 H 93.2°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).
Color values
| HEX | #C8AA3F |
|---|---|
| RGB | rgb(200, 170, 63) |
| HSL | hsl(47, 55%, 52%) |
| HSV | hsv(47, 69%, 78%) |
| CMYK | cmyk(0%, 15%, 68.5%, 21.6%) |
| CIE-LAB | lab(70.45, -0.78, 56.95) |
| CIE-LCH | lch(70.45, 56.96, 90.78°) |
| OKLab | oklab(74.51% -0.0071 0.128) |
| OKLCH | oklch(74.51% 0.128 93.2) |
| XYZ | xyz(39.0933, 41.3899, 10.6316) |
| Luminance | 0.4139 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 4.65
Desert
#CCAD60
ΔE00 4.66
Burnt Yellow
#D5AB09
ΔE00 4.81
Brownish Yellow
#C9B003
ΔE00 5.00
Ocher
#BF9B0C
ΔE00 5.08
Muddy Yellow
#BFAC05
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C8AA3F #3F5DC8
analogous
#C8663F #C8AA3F #A2C83F
triadic
#C8AA3F #3FC8AA #AA3FC8
tetradic
#C8AA3F #3FC866 #3F5DC8 #C83FA2
square
#C8AA3F #3FC866 #3F5DC8 #C83FA2
split-complementary
#C8AA3F #3FA2C8 #663FC8
monochromatic
#6D5C1F #9D842D #C8AA3F #D6BF6F #E3D49E
Accessibility & contrast
On white
2.26
#C8AA3F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.28
#C8AA3F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C8AA3F
9.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C8AA3F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C8AA3F | 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)
#BCA731
Deuteranopia (green-blind)
#C3B044
Tritanopia (blue-blind)
#D89D94
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #c8aa3f; /* rgb */ color: rgb(200, 170, 63); /* oklch */ color: oklch(74.5% 0.128 93.2);
Tailwind
colors: {
custom: {
50: '#dcc27a',
500: '#c8aa3f',
950: '#000000',
},
}SCSS
$custom: #c8aa3f; $custom-light: #dcc27a; $custom-dark: #000000;
JSON
{
"hex": "#c8aa3f",
"rgb": {
"r": 200,
"g": 170,
"b": 63
},
"hsl": {
"h": 46.861,
"s": 55.466,
"l": 51.569
},
"oklch": {
"l": 0.74505,
"c": 0.12815,
"h": 93.2
},
"luminance": 0.41388
}Semantic roles & 50–950 ramp
primary
#C8AA3F
secondary
#93A0D0
accent
#6ADF49
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#161209
muted
#84817B