#AF9F4D#AF9F4D
#AF9F4D is a light, moderate yellow. Relative luminance 0.344; OKLCH L 69.9% C 0.105 H 98.5°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).
Color values
| HEX | #AF9F4D |
|---|---|
| RGB | rgb(175, 159, 77) |
| HSL | hsl(50, 39%, 49%) |
| HSV | hsv(50, 56%, 69%) |
| CMYK | cmyk(0%, 9.1%, 56%, 31.4%) |
| CIE-LAB | lab(65.32, -4.79, 44.27) |
| CIE-LCH | lch(65.32, 44.53, 96.17°) |
| OKLab | oklab(69.94% -0.0154 0.1036) |
| OKLCH | oklch(69.94% 0.105 98.5) |
| XYZ | xyz(31.4180, 34.4473, 12.0138) |
| Luminance | 0.3445 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 4.82
Sandy Brown
#C4A661
ΔE00 6.10
Dark Khaki
#9B8F55
ΔE00 6.79
Desert
#CCAD60
ΔE00 6.92
Brown Yellow
#B29705
ΔE00 6.98
Darkkhaki
#BDB76B
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF9F4D #4D5DAF
analogous
#AF6E4D #AF9F4D #8EAF4D
triadic
#AF9F4D #4DAF9F #9F4DAF
tetradic
#AF9F4D #4DAF6E #4D5DAF #AF4D8E
square
#AF9F4D #4DAF6E #4D5DAF #AF4D8E
split-complementary
#AF9F4D #4D8EAF #6E4DAF
monochromatic
#5A5228 #85783A #AF9F4D #C3B676 #D6CDA1
Accessibility & contrast
On white
2.66
#AF9F4D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.89
#AF9F4D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF9F4D
7.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF9F4D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF9F4D | 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)
#AC9B45
Deuteranopia (green-blind)
#B1A151
Tritanopia (blue-blind)
#BB958C
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #af9f4d; /* rgb */ color: rgb(175, 159, 77); /* oklch */ color: oklch(69.9% 0.105 98.5);
Tailwind
colors: {
custom: {
50: '#c9bb81',
500: '#af9f4d',
950: '#000000',
},
}SCSS
$custom: #af9f4d; $custom-light: #c9bb81; $custom-dark: #000000;
JSON
{
"hex": "#af9f4d",
"rgb": {
"r": 175,
"g": 159,
"b": 77
},
"hsl": {
"h": 50.204,
"s": 38.889,
"l": 49.412
},
"oklch": {
"l": 0.69937,
"c": 0.10471,
"h": 98.5
},
"luminance": 0.34446
}Semantic roles & 50–950 ramp
primary
#AF9F4D
secondary
#959DC3
accent
#6CCF59
background
#FCFBF8
surface
#F9F6EF
border
#D2D0CA
text
#13110A
muted
#82807C