#AFB080#AFB080
#AFB080 is a light, moderate yellow. Relative luminance 0.417; OKLCH L 74.4% C 0.065 H 108.9°. Best body text is #000000 at 9.34:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB080 |
|---|---|
| RGB | rgb(175, 176, 128) |
| HSL | hsl(61, 23%, 60%) |
| HSV | hsv(61, 27%, 69%) |
| CMYK | cmyk(0.6%, 0%, 27.3%, 31%) |
| CIE-LAB | lab(70.68, -8.21, 24.55) |
| CIE-LCH | lch(70.68, 25.89, 108.48°) |
| OKLab | oklab(74.43% -0.0211 0.0617) |
| OKLCH | oklch(74.43% 0.065 108.9) |
| XYZ | xyz(37.1008, 41.7237, 26.5169) |
| Luminance | 0.4172 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 5.64
Sand
#C2B280
ΔE00 6.12
Sage Green
#9CAF88
ΔE00 6.54
Bland
#AFA88B
ΔE00 6.56
Darkkhaki
#BDB76B
ΔE00 6.58
Stone (survey)
#ADA587
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB080 #8180B0
analogous
#B09980 #AFB080 #97B080
triadic
#AFB080 #80AFB0 #B080AF
tetradic
#AFB080 #80B099 #8180B0 #B08097
square
#AFB080 #80B099 #8180B0 #B08097
split-complementary
#AFB080 #8097B0 #9980B0
monochromatic
#6F7046 #95965D #AFB080 #C7C7A6 #DFDFCB
Accessibility & contrast
On white
2.25
#AFB080 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.34
#AFB080 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB080
9.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB080 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB080 | 1.00 | 2.25 | 9.34 | 9.34 |
| #FFFFFF | 2.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8AC7D
Deuteranopia (green-blind)
#B8AE82
Tritanopia (blue-blind)
#B6AAA3
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #afb080; /* rgb */ color: rgb(175, 176, 128); /* oklch */ color: oklch(74.4% 0.065 108.9);
Tailwind
colors: {
custom: {
50: '#c7c7a5',
500: '#afb080',
950: '#000000',
},
}SCSS
$custom: #afb080; $custom-light: #c7c7a5; $custom-dark: #000000;
JSON
{
"hex": "#afb080",
"rgb": {
"r": 175,
"g": 176,
"b": 128
},
"hsl": {
"h": 61.25,
"s": 23.301,
"l": 59.608
},
"oklch": {
"l": 0.74434,
"c": 0.0652,
"h": 108.9
},
"luminance": 0.41723
}Semantic roles & 50–950 ramp
primary
#AFB080
secondary
#BDBDCF
accent
#68C06A
background
#FCFCFA
surface
#F8F8F4
border
#D1D1CE
text
#13130F
muted
#82827F