#AF9D4E#AF9D4E
#AF9D4E is a light, moderate yellow. Relative luminance 0.338; OKLCH L 69.5% C 0.102 H 96.7°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).
Color values
| HEX | #AF9D4E |
|---|---|
| RGB | rgb(175, 157, 78) |
| HSL | hsl(49, 38%, 50%) |
| HSV | hsv(49, 55%, 69%) |
| CMYK | cmyk(0%, 10.3%, 55.4%, 31.4%) |
| CIE-LAB | lab(64.79, -3.63, 43.17) |
| CIE-LCH | lch(64.79, 43.32, 94.81°) |
| OKLab | oklab(69.52% -0.0119 0.1013) |
| OKLCH | oklch(69.52% 0.102 96.7) |
| XYZ | xyz(31.1124, 33.7793, 12.0875) |
| Luminance | 0.3378 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 5.27
Sandy Brown
#C4A661
ΔE00 5.68
Dark Khaki
#9B8F55
ΔE00 6.27
Desert
#CCAD60
ΔE00 6.79
Dark Sand
#A88F59
ΔE00 6.86
Brown Yellow
#B29705
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF9D4E #4E60AF
analogous
#AF6D4E #AF9D4E #91AF4E
triadic
#AF9D4E #4EAF9D #9D4EAF
tetradic
#AF9D4E #4EAF6D #4E60AF #AF4E91
square
#AF9D4E #4EAF6D #4E60AF #AF4E91
split-complementary
#AF9D4E #4E91AF #6D4EAF
monochromatic
#5A5128 #85773B #AF9D4E #C3B578 #D6CCA2
Accessibility & contrast
On white
2.71
#AF9D4E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.76
#AF9D4E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF9D4E
7.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF9D4E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF9D4E | 1.00 | 2.71 | 7.76 | 7.76 |
| #FFFFFF | 2.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AA9A47
Deuteranopia (green-blind)
#AFA051
Tritanopia (blue-blind)
#BB938B
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #af9d4e; /* rgb */ color: rgb(175, 157, 78); /* oklch */ color: oklch(69.5% 0.102 96.7);
Tailwind
colors: {
custom: {
50: '#c9b982',
500: '#af9d4e',
950: '#000000',
},
}SCSS
$custom: #af9d4e; $custom-light: #c9b982; $custom-dark: #000000;
JSON
{
"hex": "#af9d4e",
"rgb": {
"r": 175,
"g": 157,
"b": 78
},
"hsl": {
"h": 48.866,
"s": 38.34,
"l": 49.608
},
"oklch": {
"l": 0.69522,
"c": 0.10198,
"h": 96.7
},
"luminance": 0.33778
}Semantic roles & 50–950 ramp
primary
#AF9D4E
secondary
#969EC3
accent
#6FCE5A
background
#FCFBF8
surface
#F9F6EF
border
#D2D0CA
text
#13110A
muted
#82807C