#AFB07E#AFB07E
#AFB07E is a light, moderate yellow. Relative luminance 0.417; OKLCH L 74.4% C 0.068 H 108.9°. Best body text is #000000 at 9.33:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB07E |
|---|---|
| RGB | rgb(175, 176, 126) |
| HSL | hsl(61, 24%, 59%) |
| HSV | hsv(61, 28%, 69%) |
| CMYK | cmyk(0.6%, 0%, 28.4%, 31%) |
| CIE-LAB | lab(70.64, -8.48, 25.58) |
| CIE-LCH | lch(70.64, 26.95, 108.34°) |
| OKLab | oklab(74.39% -0.0219 0.0641) |
| OKLCH | oklch(74.39% 0.068 108.9) |
| XYZ | xyz(36.9705, 41.6715, 25.8304) |
| Luminance | 0.4167 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 5.25
Sand
#C2B280
ΔE00 6.08
Darkkhaki
#BDB76B
ΔE00 6.16
Sage Green
#9CAF88
ΔE00 6.73
Bland
#AFA88B
ΔE00 6.91
Stone (survey)
#ADA587
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB07E #7F7EB0
analogous
#B0987E #AFB07E #96B07E
triadic
#AFB07E #7EAFB0 #B07EAF
tetradic
#AFB07E #7EB098 #7F7EB0 #B07E96
square
#AFB07E #7EB098 #7F7EB0 #B07E96
split-complementary
#AFB07E #7E96B0 #987EB0
monochromatic
#6F6F44 #94955B #AFB07E #C7C7A4 #DEDECA
Accessibility & contrast
On white
2.25
#AFB07E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.33
#AFB07E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB07E
9.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB07E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB07E | 1.00 | 2.25 | 9.33 | 9.33 |
| #FFFFFF | 2.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8AC7B
Deuteranopia (green-blind)
#B9AE80
Tritanopia (blue-blind)
#B6AAA3
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #afb07e; /* rgb */ color: rgb(175, 176, 126); /* oklch */ color: oklch(74.4% 0.068 108.9);
Tailwind
colors: {
custom: {
50: '#c7c7a3',
500: '#afb07e',
950: '#000000',
},
}SCSS
$custom: #afb07e; $custom-light: #c7c7a3; $custom-dark: #000000;
JSON
{
"hex": "#afb07e",
"rgb": {
"r": 175,
"g": 176,
"b": 126
},
"hsl": {
"h": 61.2,
"s": 24.038,
"l": 59.216
},
"oklch": {
"l": 0.74393,
"c": 0.06774,
"h": 108.9
},
"luminance": 0.41671
}Semantic roles & 50–950 ramp
primary
#AFB07E
secondary
#BCBBCF
accent
#67C069
background
#FCFCFA
surface
#F8F8F4
border
#D1D1CE
text
#13130F
muted
#82827F