#AFA26E#AFA26E
#AFA26E is a light, moderate yellow. Relative luminance 0.361; OKLCH L 71.1% C 0.072 H 95.8°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA26E |
|---|---|
| RGB | rgb(175, 162, 110) |
| HSL | hsl(48, 29%, 56%) |
| HSV | hsv(48, 37%, 69%) |
| CMYK | cmyk(0%, 7.4%, 37.1%, 31.4%) |
| CIE-LAB | lab(66.58, -3.07, 28.78) |
| CIE-LCH | lch(66.58, 28.95, 96.09°) |
| OKLab | oklab(71.09% -0.0072 0.0712) |
| OKLCH | oklch(71.09% 0.072 95.8) |
| XYZ | xyz(33.4146, 36.0814, 19.9531) |
| Luminance | 0.3608 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 4.54
Sand
#C2B280
ΔE00 4.97
Dust
#B2996E
ΔE00 5.74
Dark Beige
#AC9362
ΔE00 5.96
Stone (survey)
#ADA587
ΔE00 6.09
Putty
#BEAE8A
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA26E #6E7BAF
analogous
#AF816E #AFA26E #9BAF6E
triadic
#AFA26E #6EAFA2 #A26EAF
tetradic
#AFA26E #6EAF81 #6E7BAF #AF6E9B
square
#AFA26E #6EAF81 #6E7BAF #AF6E9B
split-complementary
#AFA26E #6E9BAF #816EAF
monochromatic
#695F3A #908350 #AFA26E #C5BB95 #DBD5BD
Accessibility & contrast
On white
2.56
#AFA26E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.22
#AFA26E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA26E
8.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA26E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA26E | 1.00 | 2.56 | 8.22 | 8.22 |
| #FFFFFF | 2.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AC9F6A
Deuteranopia (green-blind)
#B0A470
Tritanopia (blue-blind)
#B99B95
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #afa26e; /* rgb */ color: rgb(175, 162, 110); /* oklch */ color: oklch(71.1% 0.072 95.8);
Tailwind
colors: {
custom: {
50: '#c8bd98',
500: '#afa26e',
950: '#000000',
},
}SCSS
$custom: #afa26e; $custom-light: #c8bd98; $custom-dark: #000000;
JSON
{
"hex": "#afa26e",
"rgb": {
"r": 175,
"g": 162,
"b": 110
},
"hsl": {
"h": 48,
"s": 28.889,
"l": 55.882
},
"oklch": {
"l": 0.71087,
"c": 0.07153,
"h": 95.8
},
"luminance": 0.3608
}Semantic roles & 50–950 ramp
primary
#AFA26E
secondary
#AFB4CA
accent
#76C563
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#13120D
muted
#82817E