#AFB489#AFB489
#AFB489 is a light, muted yellow. Relative luminance 0.436; OKLCH L 75.5% C 0.059 H 113.2°. Best body text is #000000 at 9.71:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB489 |
|---|---|
| RGB | rgb(175, 180, 137) |
| HSL | hsl(67, 22%, 62%) |
| HSV | hsv(67, 24%, 71%) |
| CMYK | cmyk(2.8%, 0%, 23.9%, 29.4%) |
| CIE-LAB | lab(71.94, -9.03, 21.41) |
| CIE-LCH | lch(71.94, 23.24, 112.87°) |
| OKLab | oklab(75.49% -0.0233 0.0543) |
| OKLCH | oklch(75.49% 0.059 113.2) |
| XYZ | xyz(38.5156, 43.5629, 30.0415) |
| Luminance | 0.4356 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sage Green
#9CAF88
ΔE00 5.16
Bland
#AFA88B
ΔE00 6.95
Greenish Grey
#96AE8D
ΔE00 7.34
Stone (survey)
#ADA587
ΔE00 7.40
Sand
#C2B280
ΔE00 7.58
Khaki (survey)
#AAA662
ΔE00 7.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB489 #8E89B4
analogous
#B4A489 #AFB489 #9AB489
triadic
#AFB489 #89AFB4 #B489AF
tetradic
#AFB489 #89B4A4 #8E89B4 #B4899A
square
#AFB489 #89B4A4 #8E89B4 #B4899A
split-complementary
#AFB489 #899AB4 #A489B4
monochromatic
#72774C #969C64 #AFB489 #C8CCAE #E2E4D4
Accessibility & contrast
On white
2.16
#AFB489 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.71
#AFB489 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB489
9.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB489 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB489 | 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)
#BBB086
Deuteranopia (green-blind)
#BAB18B
Tritanopia (blue-blind)
#B4AFA8
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #afb489; /* rgb */ color: rgb(175, 180, 137); /* oklch */ color: oklch(75.5% 0.059 113.2);
Tailwind
colors: {
custom: {
50: '#c7caab',
500: '#afb489',
950: '#000000',
},
}SCSS
$custom: #afb489; $custom-light: #c7caab; $custom-dark: #000000;
JSON
{
"hex": "#afb489",
"rgb": {
"r": 175,
"g": 180,
"b": 137
},
"hsl": {
"h": 66.977,
"s": 22.28,
"l": 62.157
},
"oklch": {
"l": 0.75485,
"c": 0.05904,
"h": 113.2
},
"luminance": 0.43563
}Semantic roles & 50–950 ramp
primary
#AFB489
secondary
#C6C5D4
accent
#45A14F
background
#FCFCFA
surface
#F8F8F4
border
#D1D1CE
text
#131310
muted
#82827F