#AF9F4E#AF9F4E
#AF9F4E is a light, moderate yellow. Relative luminance 0.345; OKLCH L 70.0% C 0.104 H 98.3°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).
Color values
| HEX | #AF9F4E |
|---|---|
| RGB | rgb(175, 159, 78) |
| HSL | hsl(50, 38%, 50%) |
| HSV | hsv(50, 55%, 69%) |
| CMYK | cmyk(0%, 9.1%, 55.4%, 31.4%) |
| CIE-LAB | lab(65.33, -4.70, 43.80) |
| CIE-LCH | lch(65.33, 44.05, 96.13°) |
| OKLab | oklab(69.95% -0.015 0.1026) |
| OKLCH | oklch(69.95% 0.104 98.3) |
| XYZ | xyz(31.4536, 34.4616, 12.2012) |
| Luminance | 0.3446 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 4.73
Sandy Brown
#C4A661
ΔE00 6.02
Dark Khaki
#9B8F55
ΔE00 6.69
Desert
#CCAD60
ΔE00 6.88
Brown Yellow
#B29705
ΔE00 7.12
Darkkhaki
#BDB76B
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF9F4E #4E5EAF
analogous
#AF6F4E #AF9F4E #8FAF4E
triadic
#AF9F4E #4EAF9F #9F4EAF
tetradic
#AF9F4E #4EAF6F #4E5EAF #AF4E8F
square
#AF9F4E #4EAF6F #4E5EAF #AF4E8F
split-complementary
#AF9F4E #4E8FAF #6F4EAF
monochromatic
#5A5228 #85793B #AF9F4E #C3B678 #D6CDA2
Accessibility & contrast
On white
2.66
#AF9F4E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.89
#AF9F4E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF9F4E
7.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF9F4E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF9F4E | 1.00 | 2.66 | 7.89 | 7.89 |
| #FFFFFF | 2.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AC9B46
Deuteranopia (green-blind)
#B1A152
Tritanopia (blue-blind)
#BB958D
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #af9f4e; /* rgb */ color: rgb(175, 159, 78); /* oklch */ color: oklch(70.0% 0.104 98.3);
Tailwind
colors: {
custom: {
50: '#c9bb82',
500: '#af9f4e',
950: '#000000',
},
}SCSS
$custom: #af9f4e; $custom-light: #c9bb82; $custom-dark: #000000;
JSON
{
"hex": "#af9f4e",
"rgb": {
"r": 175,
"g": 159,
"b": 78
},
"hsl": {
"h": 50.103,
"s": 38.34,
"l": 49.608
},
"oklch": {
"l": 0.6995,
"c": 0.10374,
"h": 98.3
},
"luminance": 0.3446
}Semantic roles & 50–950 ramp
primary
#AF9F4E
secondary
#969EC3
accent
#6DCE5A
background
#FCFBF8
surface
#F9F6EF
border
#D2D0CA
text
#13110B
muted
#82807C