#AFAB5E#AFAB5E
#AFAB5E is a light, moderate yellow. Relative luminance 0.390; OKLCH L 72.8% C 0.100 H 106.0°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).
Color values
| HEX | #AFAB5E |
|---|---|
| RGB | rgb(175, 171, 94) |
| HSL | hsl(57, 34%, 53%) |
| HSV | hsv(57, 46%, 69%) |
| CMYK | cmyk(0%, 2.3%, 46.3%, 31.4%) |
| CIE-LAB | lab(68.79, -9.61, 39.95) |
| CIE-LCH | lch(68.79, 41.09, 103.53°) |
| OKLab | oklab(72.76% -0.0274 0.0957) |
| OKLCH | oklch(72.76% 0.1 106) |
| XYZ | xyz(34.2632, 39.0488, 16.3198) |
| Luminance | 0.3905 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 2.11
Darkkhaki
#BDB76B
ΔE00 3.55
Light Olive
#ACBF69
ΔE00 7.41
Sand
#C2B280
ΔE00 7.50
Tan Green
#A9BE70
ΔE00 7.82
Vomit
#A2A415
ΔE00 7.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFAB5E #5E62AF
analogous
#AF825E #AFAB5E #8AAF5E
triadic
#AFAB5E #5EAFAB #AB5EAF
tetradic
#AFAB5E #5EAF82 #5E62AF #AF5E8A
square
#AFAB5E #5EAF82 #5E62AF #AF5E8A
split-complementary
#AFAB5E #5E8AAF #825EAF
monochromatic
#626031 #8B8745 #AFAB5E #C3C087 #D8D6B0
Accessibility & contrast
On white
2.38
#AFAB5E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.81
#AFAB5E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFAB5E
8.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFAB5E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFAB5E | 1.00 | 2.38 | 8.81 | 8.81 |
| #FFFFFF | 2.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A658
Deuteranopia (green-blind)
#B9A962
Tritanopia (blue-blind)
#B9A299
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #afab5e; /* rgb */ color: rgb(175, 171, 94); /* oklch */ color: oklch(72.8% 0.100 106.0);
Tailwind
colors: {
custom: {
50: '#c8c38d',
500: '#afab5e',
950: '#000000',
},
}SCSS
$custom: #afab5e; $custom-light: #c8c38d; $custom-dark: #000000;
JSON
{
"hex": "#afab5e",
"rgb": {
"r": 175,
"g": 171,
"b": 94
},
"hsl": {
"h": 57.037,
"s": 33.61,
"l": 52.745
},
"oklch": {
"l": 0.72757,
"c": 0.0995,
"h": 106
},
"luminance": 0.39048
}Semantic roles & 50–950 ramp
primary
#AFAB5E
secondary
#A3A5C6
accent
#63CA5E
background
#FCFCF8
surface
#F8F8F0
border
#D1D1CB
text
#13120C
muted
#82817D