#C8AF5F#C8AF5F
#C8AF5F is a light, moderate yellow. Relative luminance 0.438; OKLCH L 75.9% C 0.104 H 92.4°. Best body text is #000000 at 9.75:1 contrast (WCAG AA passes).
Color values
| HEX | #C8AF5F |
|---|---|
| RGB | rgb(200, 175, 95) |
| HSL | hsl(46, 49%, 58%) |
| HSV | hsv(46, 53%, 78%) |
| CMYK | cmyk(0%, 12.5%, 52.5%, 21.6%) |
| CIE-LAB | lab(72.07, -1.17, 43.94) |
| CIE-LCH | lch(72.07, 43.96, 91.52°) |
| OKLab | oklab(75.89% -0.0044 0.1042) |
| OKLCH | oklch(75.89% 0.104 92.4) |
| XYZ | xyz(41.2165, 43.7674, 17.1012) |
| Luminance | 0.4377 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 2.04
Sandy Brown
#C4A661
ΔE00 3.53
Tan (survey)
#D1B26F
ΔE00 3.62
Sandstone
#C9AE74
ΔE00 4.50
Sand Brown
#CBA560
ΔE00 5.37
Darkkhaki
#BDB76B
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C8AF5F #5F78C8
analogous
#C87A5F #C8AF5F #ADC85F
triadic
#C8AF5F #5FC8AF #AF5FC8
tetradic
#C8AF5F #5FC87A #5F78C8 #C85FAD
square
#C8AF5F #5FC87A #5F78C8 #C85FAD
split-complementary
#C8AF5F #5FADC8 #7A5FC8
monochromatic
#806C2C #AE933C #C8AF5F #D8C68D #E7DDBA
Accessibility & contrast
On white
2.15
#C8AF5F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.75
#C8AF5F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C8AF5F
9.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C8AF5F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C8AF5F | 1.00 | 2.15 | 9.75 | 9.75 |
| #FFFFFF | 2.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEAC58
Deuteranopia (green-blind)
#C4B462
Tritanopia (blue-blind)
#D6A49C
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #c8af5f; /* rgb */ color: rgb(200, 175, 95); /* oklch */ color: oklch(75.9% 0.104 92.4);
Tailwind
colors: {
custom: {
50: '#dbc68e',
500: '#c8af5f',
950: '#000000',
},
}SCSS
$custom: #c8af5f; $custom-light: #dbc68e; $custom-dark: #000000;
JSON
{
"hex": "#c8af5f",
"rgb": {
"r": 200,
"g": 175,
"b": 95
},
"hsl": {
"h": 45.714,
"s": 48.837,
"l": 57.843
},
"oklch": {
"l": 0.75891,
"c": 0.10427,
"h": 92.4
},
"luminance": 0.43766
}Semantic roles & 50–950 ramp
primary
#C8AF5F
secondary
#ACB6D6
accent
#70D84F
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D