#AF9C5A#AF9C5A
#AF9C5A is a light, moderate yellow. Relative luminance 0.336; OKLCH L 69.5% C 0.089 H 93.8°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).
Color values
| HEX | #AF9C5A |
|---|---|
| RGB | rgb(175, 156, 90) |
| HSL | hsl(47, 35%, 52%) |
| HSV | hsv(47, 49%, 69%) |
| CMYK | cmyk(0%, 10.9%, 48.6%, 31.4%) |
| CIE-LAB | lab(64.67, -2.01, 36.93) |
| CIE-LCH | lch(64.67, 36.99, 93.11°) |
| OKLab | oklab(69.48% -0.0059 0.0887) |
| OKLCH | oklch(69.48% 0.089 93.8) |
| XYZ | xyz(31.4141, 33.6304, 14.5075) |
| Luminance | 0.3363 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy Brown
#C4A661
ΔE00 4.98
Dark Sand
#A88F59
ΔE00 5.08
Dark Beige
#AC9362
ΔE00 5.16
Dark Khaki
#9B8F55
ΔE00 5.27
Khaki (survey)
#AAA662
ΔE00 5.31
Dust
#B2996E
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF9C5A #5A6DAF
analogous
#AF725A #AF9C5A #98AF5A
triadic
#AF9C5A #5AAF9C #9C5AAF
tetradic
#AF9C5A #5AAF72 #5A6DAF #AF5A98
square
#AF9C5A #5AAF72 #5A6DAF #AF5A98
split-complementary
#AF9C5A #5A98AF #725AAF
monochromatic
#60552F #897943 #AF9C5A #C3B583 #D7CDAC
Accessibility & contrast
On white
2.72
#AF9C5A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.73
#AF9C5A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF9C5A
7.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF9C5A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF9C5A | 1.00 | 2.72 | 7.73 | 7.73 |
| #FFFFFF | 2.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A99955
Deuteranopia (green-blind)
#AD9F5D
Tritanopia (blue-blind)
#BB938C
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #af9c5a; /* rgb */ color: rgb(175, 156, 90); /* oklch */ color: oklch(69.5% 0.089 93.8);
Tailwind
colors: {
custom: {
50: '#c9b98a',
500: '#af9c5a',
950: '#000000',
},
}SCSS
$custom: #af9c5a; $custom-light: #c9b98a; $custom-dark: #000000;
JSON
{
"hex": "#af9c5a",
"rgb": {
"r": 175,
"g": 156,
"b": 90
},
"hsl": {
"h": 46.588,
"s": 34.694,
"l": 51.961
},
"oklch": {
"l": 0.69477,
"c": 0.08885,
"h": 93.8
},
"luminance": 0.33629
}Semantic roles & 50–950 ramp
primary
#AF9C5A
secondary
#A0A8C5
accent
#76CB5D
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13110C
muted
#82807D