#AFB486#AFB486
#AFB486 is a light, moderate yellow. Relative luminance 0.435; OKLCH L 75.4% C 0.063 H 113.0°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB486 |
|---|---|
| RGB | rgb(175, 180, 134) |
| HSL | hsl(67, 23%, 62%) |
| HSV | hsv(67, 26%, 71%) |
| CMYK | cmyk(2.8%, 0%, 25.6%, 29.4%) |
| CIE-LAB | lab(71.88, -9.47, 22.95) |
| CIE-LCH | lch(71.88, 24.82, 112.42°) |
| OKLab | oklab(75.42% -0.0245 0.0579) |
| OKLCH | oklch(75.42% 0.063 113) |
| XYZ | xyz(38.3034, 43.4781, 28.9239) |
| Luminance | 0.4348 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sage Green
#9CAF88
ΔE00 5.39
Khaki (survey)
#AAA662
ΔE00 7.09
Bland
#AFA88B
ΔE00 7.33
Sand
#C2B280
ΔE00 7.37
Tan Green
#A9BE70
ΔE00 7.38
Darkkhaki
#BDB76B
ΔE00 7.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB486 #8B86B4
analogous
#B4A286 #AFB486 #98B486
triadic
#AFB486 #86AFB4 #B486AF
tetradic
#AFB486 #86B4A2 #8B86B4 #B48698
square
#AFB486 #86B4A2 #8B86B4 #B48698
split-complementary
#AFB486 #8698B4 #A286B4
monochromatic
#717649 #969C61 #AFB486 #C8CBAC #E1E3D2
Accessibility & contrast
On white
2.17
#AFB486 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.70
#AFB486 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB486
9.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB486 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB486 | 1.00 | 2.17 | 9.70 | 9.70 |
| #FFFFFF | 2.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBB083
Deuteranopia (green-blind)
#BBB188
Tritanopia (blue-blind)
#B5AFA8
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #afb486; /* rgb */ color: rgb(175, 180, 134); /* oklch */ color: oklch(75.4% 0.063 113.0);
Tailwind
colors: {
custom: {
50: '#c7caa9',
500: '#afb486',
950: '#000000',
},
}SCSS
$custom: #afb486; $custom-light: #c7caa9; $custom-dark: #000000;
JSON
{
"hex": "#afb486",
"rgb": {
"r": 175,
"g": 180,
"b": 134
},
"hsl": {
"h": 66.522,
"s": 23.469,
"l": 61.569
},
"oklch": {
"l": 0.75421,
"c": 0.06292,
"h": 113
},
"luminance": 0.43478
}Semantic roles & 50–950 ramp
primary
#AFB486
secondary
#C4C2D3
accent
#44A24E
background
#FCFCFA
surface
#F8F8F4
border
#D1D1CE
text
#131310
muted
#82827F