#AFB176#AFB176
#AFB176 is a light, moderate yellow. Relative luminance 0.419; OKLCH L 74.5% C 0.079 H 109.8°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB176 |
|---|---|
| RGB | rgb(175, 177, 118) |
| HSL | hsl(62, 27%, 58%) |
| HSV | hsv(62, 33%, 69%) |
| CMYK | cmyk(1.1%, 0%, 33.3%, 30.6%) |
| CIE-LAB | lab(70.78, -10.05, 30.02) |
| CIE-LCH | lch(70.78, 31.65, 108.51°) |
| OKLab | oklab(74.46% -0.0268 0.0743) |
| OKLCH | oklch(74.46% 0.079 109.8) |
| XYZ | xyz(36.6716, 41.8668, 23.2853) |
| Luminance | 0.4187 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 4.10
Darkkhaki
#BDB76B
ΔE00 4.62
Tan Green
#A9BE70
ΔE00 6.08
Sand
#C2B280
ΔE00 6.53
Light Olive
#ACBF69
ΔE00 6.57
Sage Green
#9CAF88
ΔE00 7.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB176 #7876B1
analogous
#B19576 #AFB176 #91B176
triadic
#AFB176 #76AFB1 #B176AF
tetradic
#AFB176 #76B195 #7876B1 #B17691
square
#AFB176 #76B195 #7876B1 #B17691
split-complementary
#AFB176 #7691B1 #9576B1
monochromatic
#6C6E3F #939555 #AFB176 #C6C79D #DDDDC4
Accessibility & contrast
On white
2.24
#AFB176 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.37
#AFB176 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB176
9.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB176 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB176 | 1.00 | 2.24 | 9.37 | 9.37 |
| #FFFFFF | 2.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BAAC72
Deuteranopia (green-blind)
#BBAE78
Tritanopia (blue-blind)
#B7AAA2
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #afb176; /* rgb */ color: rgb(175, 177, 118); /* oklch */ color: oklch(74.5% 0.079 109.8);
Tailwind
colors: {
custom: {
50: '#c7c89e',
500: '#afb176',
950: '#000000',
},
}SCSS
$custom: #afb176; $custom-light: #c7c89e; $custom-dark: #000000;
JSON
{
"hex": "#afb176",
"rgb": {
"r": 175,
"g": 177,
"b": 118
},
"hsl": {
"h": 62.034,
"s": 27.442,
"l": 57.843
},
"oklch": {
"l": 0.74456,
"c": 0.07901,
"h": 109.8
},
"luminance": 0.41866
}Semantic roles & 50–950 ramp
primary
#AFB176
secondary
#B6B6CD
accent
#64C467
background
#FCFCF9
surface
#F8F8F2
border
#D1D1CC
text
#13130E
muted
#82827E