#AFB488#AFB488
#AFB488 is a light, moderate yellow. Relative luminance 0.435; OKLCH L 75.5% C 0.060 H 113.1°. Best body text is #000000 at 9.71:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB488 |
|---|---|
| RGB | rgb(175, 180, 136) |
| HSL | hsl(67, 23%, 62%) |
| HSV | hsv(67, 24%, 71%) |
| CMYK | cmyk(2.8%, 0%, 24.4%, 29.4%) |
| CIE-LAB | lab(71.92, -9.18, 21.92) |
| CIE-LCH | lch(71.92, 23.77, 112.71°) |
| OKLab | oklab(75.46% -0.0237 0.0555) |
| OKLCH | oklch(75.46% 0.06 113.1) |
| XYZ | xyz(38.4442, 43.5344, 29.6655) |
| Luminance | 0.4353 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sage Green
#9CAF88
ΔE00 5.23
Bland
#AFA88B
ΔE00 7.07
Greenish Grey
#96AE8D
ΔE00 7.44
Khaki (survey)
#AAA662
ΔE00 7.49
Sand
#C2B280
ΔE00 7.50
Stone (survey)
#ADA587
ΔE00 7.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB488 #8D88B4
analogous
#B4A388 #AFB488 #99B488
triadic
#AFB488 #88AFB4 #B488AF
tetradic
#AFB488 #88B4A3 #8D88B4 #B48899
square
#AFB488 #88B4A3 #8D88B4 #B48899
split-complementary
#AFB488 #8899B4 #A388B4
monochromatic
#72774B #969C63 #AFB488 #C8CCAE #E1E3D3
Accessibility & contrast
On white
2.16
#AFB488 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.71
#AFB488 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB488
9.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB488 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB488 | 1.00 | 2.16 | 9.71 | 9.71 |
| #FFFFFF | 2.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBB085
Deuteranopia (green-blind)
#BBB18A
Tritanopia (blue-blind)
#B4AFA8
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #afb488; /* rgb */ color: rgb(175, 180, 136); /* oklch */ color: oklch(75.5% 0.060 113.1);
Tailwind
colors: {
custom: {
50: '#c7caab',
500: '#afb488',
950: '#000000',
},
}SCSS
$custom: #afb488; $custom-light: #c7caab; $custom-dark: #000000;
JSON
{
"hex": "#afb488",
"rgb": {
"r": 175,
"g": 180,
"b": 136
},
"hsl": {
"h": 66.818,
"s": 22.68,
"l": 61.961
},
"oklch": {
"l": 0.75463,
"c": 0.06034,
"h": 113.1
},
"luminance": 0.43534
}Semantic roles & 50–950 ramp
primary
#AFB488
secondary
#C6C4D4
accent
#44A14F
background
#FCFCFA
surface
#F8F8F4
border
#D1D1CE
text
#131310
muted
#82827F