#AF9E4A#AF9E4A
#AF9E4A is a light, moderate yellow. Relative luminance 0.341; OKLCH L 69.7% C 0.107 H 98.0°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).
Color values
| HEX | #AF9E4A |
|---|---|
| RGB | rgb(175, 158, 74) |
| HSL | hsl(50, 41%, 49%) |
| HSV | hsv(50, 58%, 69%) |
| CMYK | cmyk(0%, 9.7%, 57.7%, 31.4%) |
| CIE-LAB | lab(65.01, -4.49, 45.38) |
| CIE-LCH | lch(65.01, 45.60, 95.65°) |
| OKLab | oklab(69.69% -0.0149 0.1056) |
| OKLCH | oklch(69.69% 0.107 98) |
| XYZ | xyz(31.1433, 34.0634, 11.4117) |
| Luminance | 0.3406 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 5.32
Sandy Brown
#C4A661
ΔE00 6.17
Brown Yellow
#B29705
ΔE00 6.50
Dark Khaki
#9B8F55
ΔE00 6.85
Baby Shit Brown
#AD900D
ΔE00 6.98
Desert
#CCAD60
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF9E4A #4A5BAF
analogous
#AF6C4A #AF9E4A #8EAF4A
triadic
#AF9E4A #4AAF9E #9E4AAF
tetradic
#AF9E4A #4AAF6C #4A5BAF #AF4A8E
square
#AF9E4A #4AAF6C #4A5BAF #AF4A8E
split-complementary
#AF9E4A #4A8EAF #6C4AAF
monochromatic
#595026 #847738 #AF9E4A #C4B673 #D6CC9E
Accessibility & contrast
On white
2.69
#AF9E4A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.81
#AF9E4A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF9E4A
7.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF9E4A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF9E4A | 1.00 | 2.69 | 7.81 | 7.81 |
| #FFFFFF | 2.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AC9A42
Deuteranopia (green-blind)
#B0A04E
Tritanopia (blue-blind)
#BB948B
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #af9e4a; /* rgb */ color: rgb(175, 158, 74); /* oklch */ color: oklch(69.7% 0.107 98.0);
Tailwind
colors: {
custom: {
50: '#c9ba7f',
500: '#af9e4a',
950: '#000000',
},
}SCSS
$custom: #af9e4a; $custom-light: #c9ba7f; $custom-dark: #000000;
JSON
{
"hex": "#af9e4a",
"rgb": {
"r": 175,
"g": 158,
"b": 74
},
"hsl": {
"h": 49.901,
"s": 40.562,
"l": 48.824
},
"oklch": {
"l": 0.69687,
"c": 0.10666,
"h": 98
},
"luminance": 0.34062
}Semantic roles & 50–950 ramp
primary
#AF9E4A
secondary
#929AC2
accent
#6CD057
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#13110A
muted
#82807C