#AF9F56#AF9F56
#AF9F56 is a light, moderate yellow. Relative luminance 0.346; OKLCH L 70.1% C 0.096 H 97.3°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).
Color values
| HEX | #AF9F56 |
|---|---|
| RGB | rgb(175, 159, 86) |
| HSL | hsl(49, 36%, 51%) |
| HSV | hsv(49, 51%, 69%) |
| CMYK | cmyk(0%, 9.1%, 50.9%, 31.4%) |
| CIE-LAB | lab(65.42, -4.00, 39.91) |
| CIE-LCH | lch(65.42, 40.11, 95.73°) |
| OKLab | oklab(70.06% -0.0121 0.0949) |
| OKLCH | oklch(70.06% 0.096 97.3) |
| XYZ | xyz(31.7581, 34.5834, 13.8047) |
| Luminance | 0.3458 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 4.19
Sandy Brown
#C4A661
ΔE00 5.50
Dark Khaki
#9B8F55
ΔE00 6.02
Desert
#CCAD60
ΔE00 6.70
Dark Sand
#A88F59
ΔE00 6.79
Dark Beige
#AC9362
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF9F56 #5666AF
analogous
#AF7256 #AF9F56 #92AF56
triadic
#AF9F56 #56AF9F #9F56AF
tetradic
#AF9F56 #56AF72 #5666AF #AF5692
square
#AF9F56 #56AF72 #5666AF #AF5692
split-complementary
#AF9F56 #5692AF #7256AF
monochromatic
#5E552D #887B40 #AF9F56 #C3B780 #D6CEA9
Accessibility & contrast
On white
2.65
#AF9F56 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.92
#AF9F56 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF9F56
7.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF9F56 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF9F56 | 1.00 | 2.65 | 7.92 | 7.92 |
| #FFFFFF | 2.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AC9C50
Deuteranopia (green-blind)
#B0A159
Tritanopia (blue-blind)
#BB968E
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #af9f56; /* rgb */ color: rgb(175, 159, 86); /* oklch */ color: oklch(70.1% 0.096 97.3);
Tailwind
colors: {
custom: {
50: '#c9bb87',
500: '#af9f56',
950: '#000000',
},
}SCSS
$custom: #af9f56; $custom-light: #c9bb87; $custom-dark: #000000;
JSON
{
"hex": "#af9f56",
"rgb": {
"r": 175,
"g": 159,
"b": 86
},
"hsl": {
"h": 49.213,
"s": 35.743,
"l": 51.176
},
"oklch": {
"l": 0.70057,
"c": 0.0957,
"h": 97.3
},
"luminance": 0.34582
}Semantic roles & 50–950 ramp
primary
#AF9F56
secondary
#9DA4C4
accent
#70CC5C
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13110B
muted
#82807C