#AF9E4E#AF9E4E
#AF9E4E is a light, moderate yellow. Relative luminance 0.341; OKLCH L 69.7% C 0.103 H 97.5°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).
Color values
| HEX | #AF9E4E |
|---|---|
| RGB | rgb(175, 158, 78) |
| HSL | hsl(49, 38%, 50%) |
| HSV | hsv(49, 55%, 69%) |
| CMYK | cmyk(0%, 9.7%, 55.4%, 31.4%) |
| CIE-LAB | lab(65.06, -4.17, 43.48) |
| CIE-LCH | lch(65.06, 43.68, 95.48°) |
| OKLab | oklab(69.74% -0.0135 0.102) |
| OKLCH | oklch(69.74% 0.103 97.5) |
| XYZ | xyz(31.2823, 34.1190, 12.1441) |
| Luminance | 0.3412 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 4.99
Sandy Brown
#C4A661
ΔE00 5.84
Dark Khaki
#9B8F55
ΔE00 6.47
Desert
#CCAD60
ΔE00 6.82
Brown Yellow
#B29705
ΔE00 7.03
Dark Sand
#A88F59
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF9E4E #4E5FAF
analogous
#AF6E4E #AF9E4E #8FAF4E
triadic
#AF9E4E #4EAF9E #9E4EAF
tetradic
#AF9E4E #4EAF6E #4E5FAF #AF4E8F
square
#AF9E4E #4EAF6E #4E5FAF #AF4E8F
split-complementary
#AF9E4E #4E8FAF #6E4EAF
monochromatic
#5A5228 #85783B #AF9E4E #C3B578 #D6CCA2
Accessibility & contrast
On white
2.68
#AF9E4E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.82
#AF9E4E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF9E4E
7.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF9E4E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF9E4E | 1.00 | 2.68 | 7.82 | 7.82 |
| #FFFFFF | 2.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AB9B46
Deuteranopia (green-blind)
#B0A052
Tritanopia (blue-blind)
#BB948C
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #af9e4e; /* rgb */ color: rgb(175, 158, 78); /* oklch */ color: oklch(69.7% 0.103 97.5);
Tailwind
colors: {
custom: {
50: '#c9ba82',
500: '#af9e4e',
950: '#000000',
},
}SCSS
$custom: #af9e4e; $custom-light: #c9ba82; $custom-dark: #000000;
JSON
{
"hex": "#af9e4e",
"rgb": {
"r": 175,
"g": 158,
"b": 78
},
"hsl": {
"h": 49.485,
"s": 38.34,
"l": 49.608
},
"oklch": {
"l": 0.69736,
"c": 0.10285,
"h": 97.5
},
"luminance": 0.34118
}Semantic roles & 50–950 ramp
primary
#AF9E4E
secondary
#969EC3
accent
#6ECE5A
background
#FCFBF8
surface
#F9F6EF
border
#D2D0CA
text
#13110A
muted
#82807C