#AFB87F#AFB87F
#AFB87F is a light, moderate yellow. Relative luminance 0.449; OKLCH L 76.1% C 0.077 H 115.6°. Best body text is #000000 at 9.99:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB87F |
|---|---|
| RGB | rgb(175, 184, 127) |
| HSL | hsl(69, 29%, 61%) |
| HSV | hsv(69, 31%, 72%) |
| CMYK | cmyk(4.9%, 0%, 31%, 27.8%) |
| CIE-LAB | lab(72.84, -12.52, 27.98) |
| CIE-LCH | lch(72.84, 30.65, 114.10°) |
| OKLab | oklab(76.15% -0.0334 0.0698) |
| OKLCH | oklch(76.15% 0.077 115.6) |
| XYZ | xyz(38.6504, 44.9275, 26.7103) |
| Luminance | 0.4493 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Tan Green
#A9BE70
ΔE00 4.67
Light Olive
#ACBF69
ΔE00 5.67
Pale Olive
#B9CC81
ΔE00 5.94
Darkkhaki
#BDB76B
ΔE00 6.14
Greenish Tan
#BCCB7A
ΔE00 6.30
Sage Green
#9CAF88
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB87F #887FB8
analogous
#B8A47F #AFB87F #92B87F
triadic
#AFB87F #7FAFB8 #B87FAF
tetradic
#AFB87F #7FB8A4 #887FB8 #B87F92
square
#AFB87F #7FB8A4 #887FB8 #B87F92
split-complementary
#AFB87F #7F92B8 #A47FB8
monochromatic
#717943 #95A159 #AFB87F #C8CEA6 #E0E4CE
Accessibility & contrast
On white
2.10
#AFB87F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.99
#AFB87F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB87F
9.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB87F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB87F | 1.00 | 2.10 | 9.99 | 9.99 |
| #FFFFFF | 2.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0B27B
Deuteranopia (green-blind)
#BFB381
Tritanopia (blue-blind)
#B5B2A9
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #afb87f; /* rgb */ color: rgb(175, 184, 127); /* oklch */ color: oklch(76.1% 0.077 115.6);
Tailwind
colors: {
custom: {
50: '#c7cda4',
500: '#afb87f',
950: '#000000',
},
}SCSS
$custom: #afb87f; $custom-light: #c7cda4; $custom-dark: #000000;
JSON
{
"hex": "#afb87f",
"rgb": {
"r": 175,
"g": 184,
"b": 127
},
"hsl": {
"h": 69.474,
"s": 28.643,
"l": 60.98
},
"oklch": {
"l": 0.76147,
"c": 0.07739,
"h": 115.6
},
"luminance": 0.44927
}Semantic roles & 50–950 ramp
primary
#AFB87F
secondary
#C2BFD4
accent
#3EA74F
background
#FCFCFA
surface
#F8F9F4
border
#D1D2CE
text
#13130F
muted
#82827F