#AF9E4F#AF9E4F
#AF9E4F is a light, moderate yellow. Relative luminance 0.341; OKLCH L 69.7% C 0.102 H 97.4°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).
Color values
| HEX | #AF9E4F |
|---|---|
| RGB | rgb(175, 158, 79) |
| HSL | hsl(49, 38%, 50%) |
| HSV | hsv(49, 55%, 69%) |
| CMYK | cmyk(0%, 9.7%, 54.9%, 31.4%) |
| CIE-LAB | lab(65.07, -4.08, 43.00) |
| CIE-LCH | lch(65.07, 43.19, 95.43°) |
| OKLab | oklab(69.75% -0.0131 0.101) |
| OKLCH | oklch(69.75% 0.102 97.4) |
| XYZ | xyz(31.3185, 34.1335, 12.3344) |
| Luminance | 0.3413 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 4.91
Sandy Brown
#C4A661
ΔE00 5.77
Dark Khaki
#9B8F55
ΔE00 6.38
Desert
#CCAD60
ΔE00 6.79
Dark Sand
#A88F59
ΔE00 7.13
Brown Yellow
#B29705
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF9E4F #4F60AF
analogous
#AF6E4F #AF9E4F #90AF4F
triadic
#AF9E4F #4FAF9E #9E4FAF
tetradic
#AF9E4F #4FAF6E #4F60AF #AF4F90
square
#AF9E4F #4FAF6E #4F60AF #AF4F90
split-complementary
#AF9E4F #4F90AF #6E4FAF
monochromatic
#5B5229 #85783C #AF9E4F #C2B579 #D5CDA3
Accessibility & contrast
On white
2.68
#AF9E4F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.83
#AF9E4F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF9E4F
7.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF9E4F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF9E4F | 1.00 | 2.68 | 7.83 | 7.83 |
| #FFFFFF | 2.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AB9B48
Deuteranopia (green-blind)
#B0A052
Tritanopia (blue-blind)
#BB948C
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #af9e4f; /* rgb */ color: rgb(175, 158, 79); /* oklch */ color: oklch(69.7% 0.102 97.4);
Tailwind
colors: {
custom: {
50: '#c9ba82',
500: '#af9e4f',
950: '#000000',
},
}SCSS
$custom: #af9e4f; $custom-light: #c9ba82; $custom-dark: #000000;
JSON
{
"hex": "#af9e4f",
"rgb": {
"r": 175,
"g": 158,
"b": 79
},
"hsl": {
"h": 49.375,
"s": 37.795,
"l": 49.804
},
"oklch": {
"l": 0.69749,
"c": 0.10187,
"h": 97.4
},
"luminance": 0.34132
}Semantic roles & 50–950 ramp
primary
#AF9E4F
secondary
#979FC3
accent
#6FCE5A
background
#FCFBF8
surface
#F9F6EF
border
#D2D0CA
text
#13110B
muted
#82807C