#AFB487#AFB487
#AFB487 is a light, moderate yellow. Relative luminance 0.435; OKLCH L 75.4% C 0.062 H 113.0°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB487 |
|---|---|
| RGB | rgb(175, 180, 135) |
| HSL | hsl(67, 23%, 62%) |
| HSV | hsv(67, 25%, 71%) |
| CMYK | cmyk(2.8%, 0%, 25%, 29.4%) |
| CIE-LAB | lab(71.90, -9.32, 22.44) |
| CIE-LCH | lch(71.90, 24.30, 112.56°) |
| OKLab | oklab(75.44% -0.0241 0.0567) |
| OKLCH | oklch(75.44% 0.062 113) |
| XYZ | xyz(38.3734, 43.5061, 29.2930) |
| Luminance | 0.4351 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sage Green
#9CAF88
ΔE00 5.30
Bland
#AFA88B
ΔE00 7.20
Khaki (survey)
#AAA662
ΔE00 7.29
Sand
#C2B280
ΔE00 7.43
Greenish Grey
#96AE8D
ΔE00 7.55
Tan Green
#A9BE70
ΔE00 7.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB487 #8C87B4
analogous
#B4A387 #AFB487 #99B487
triadic
#AFB487 #87AFB4 #B487AF
tetradic
#AFB487 #87B4A3 #8C87B4 #B48799
square
#AFB487 #87B4A3 #8C87B4 #B48799
split-complementary
#AFB487 #8799B4 #A387B4
monochromatic
#72774A #969C62 #AFB487 #C8CCAD #E1E3D2
Accessibility & contrast
On white
2.16
#AFB487 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.70
#AFB487 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB487
9.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB487 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB487 | 1.00 | 2.16 | 9.70 | 9.70 |
| #FFFFFF | 2.16 | 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)
#BBB084
Deuteranopia (green-blind)
#BBB189
Tritanopia (blue-blind)
#B5AFA8
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #afb487; /* rgb */ color: rgb(175, 180, 135); /* oklch */ color: oklch(75.4% 0.062 113.0);
Tailwind
colors: {
custom: {
50: '#c7caaa',
500: '#afb487',
950: '#000000',
},
}SCSS
$custom: #afb487; $custom-light: #c7caaa; $custom-dark: #000000;
JSON
{
"hex": "#afb487",
"rgb": {
"r": 175,
"g": 180,
"b": 135
},
"hsl": {
"h": 66.667,
"s": 23.077,
"l": 61.765
},
"oklch": {
"l": 0.75442,
"c": 0.06164,
"h": 113
},
"luminance": 0.43506
}Semantic roles & 50–950 ramp
primary
#AFB487
secondary
#C5C3D4
accent
#44A24E
background
#FCFCFA
surface
#F8F8F4
border
#D1D1CE
text
#131310
muted
#82827F