#AFB07D#AFB07D
#AFB07D is a light, moderate yellow. Relative luminance 0.416; OKLCH L 74.4% C 0.069 H 108.9°. Best body text is #000000 at 9.33:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB07D |
|---|---|
| RGB | rgb(175, 176, 125) |
| HSL | hsl(61, 24%, 59%) |
| HSV | hsv(61, 29%, 69%) |
| CMYK | cmyk(0.6%, 0%, 29%, 31%) |
| CIE-LAB | lab(70.63, -8.61, 26.09) |
| CIE-LCH | lch(70.63, 27.47, 108.27°) |
| OKLab | oklab(74.37% -0.0224 0.0653) |
| OKLCH | oklch(74.37% 0.069 108.9) |
| XYZ | xyz(36.9063, 41.6458, 25.4923) |
| Luminance | 0.4164 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 5.06
Darkkhaki
#BDB76B
ΔE00 5.96
Sand
#C2B280
ΔE00 6.07
Sage Green
#9CAF88
ΔE00 6.84
Bland
#AFA88B
ΔE00 7.09
Stone (survey)
#ADA587
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB07D #7E7DB0
analogous
#B0987D #AFB07D #96B07D
triadic
#AFB07D #7DAFB0 #B07DAF
tetradic
#AFB07D #7DB098 #7E7DB0 #B07D96
square
#AFB07D #7DB098 #7E7DB0 #B07D96
split-complementary
#AFB07D #7D96B0 #987DB0
monochromatic
#6E6F44 #94955B #AFB07D #C6C7A3 #DEDEC9
Accessibility & contrast
On white
2.25
#AFB07D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.33
#AFB07D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB07D
9.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB07D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB07D | 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)
#B8AC7A
Deuteranopia (green-blind)
#B9AE7F
Tritanopia (blue-blind)
#B6AAA3
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #afb07d; /* rgb */ color: rgb(175, 176, 125); /* oklch */ color: oklch(74.4% 0.069 108.9);
Tailwind
colors: {
custom: {
50: '#c7c7a3',
500: '#afb07d',
950: '#000000',
},
}SCSS
$custom: #afb07d; $custom-light: #c7c7a3; $custom-dark: #000000;
JSON
{
"hex": "#afb07d",
"rgb": {
"r": 175,
"g": 176,
"b": 125
},
"hsl": {
"h": 61.176,
"s": 24.402,
"l": 59.02
},
"oklch": {
"l": 0.74373,
"c": 0.069,
"h": 108.9
},
"luminance": 0.41645
}Semantic roles & 50–950 ramp
primary
#AFB07D
secondary
#BBBACE
accent
#67C169
background
#FCFCFA
surface
#F8F8F3
border
#D1D1CD
text
#13130F
muted
#82827F