#AFA26B#AFA26B
#AFA26B is a light, moderate yellow. Relative luminance 0.360; OKLCH L 71.0% C 0.075 H 96.5°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA26B |
|---|---|
| RGB | rgb(175, 162, 107) |
| HSL | hsl(49, 30%, 55%) |
| HSV | hsv(49, 39%, 69%) |
| CMYK | cmyk(0%, 7.4%, 38.9%, 31.4%) |
| CIE-LAB | lab(66.53, -3.42, 30.33) |
| CIE-LCH | lch(66.53, 30.52, 96.44°) |
| OKLab | oklab(71.03% -0.0084 0.0746) |
| OKLCH | oklch(71.03% 0.075 96.5) |
| XYZ | xyz(33.2540, 36.0172, 19.1074) |
| Luminance | 0.3602 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 4.03
Sand
#C2B280
ΔE00 5.16
Dust
#B2996E
ΔE00 6.08
Sandy Brown
#C4A661
ΔE00 6.10
Dark Beige
#AC9362
ΔE00 6.11
Sandstone
#C9AE74
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA26B #6B78AF
analogous
#AF806B #AFA26B #9AAF6B
triadic
#AFA26B #6BAFA2 #A26BAF
tetradic
#AFA26B #6BAF80 #6B78AF #AF6B9A
square
#AFA26B #6BAF80 #6B78AF #AF6B9A
split-complementary
#AFA26B #6B9AAF #806BAF
monochromatic
#685E38 #8F834D #AFA26B #C4BB93 #DAD4BA
Accessibility & contrast
On white
2.56
#AFA26B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.20
#AFA26B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA26B
8.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA26B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA26B | 1.00 | 2.56 | 8.20 | 8.20 |
| #FFFFFF | 2.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AD9F67
Deuteranopia (green-blind)
#B0A46D
Tritanopia (blue-blind)
#B99A94
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #afa26b; /* rgb */ color: rgb(175, 162, 107); /* oklch */ color: oklch(71.0% 0.075 96.5);
Tailwind
colors: {
custom: {
50: '#c8bd96',
500: '#afa26b',
950: '#000000',
},
}SCSS
$custom: #afa26b; $custom-light: #c8bd96; $custom-dark: #000000;
JSON
{
"hex": "#afa26b",
"rgb": {
"r": 175,
"g": 162,
"b": 107
},
"hsl": {
"h": 48.529,
"s": 29.825,
"l": 55.294
},
"oklch": {
"l": 0.71033,
"c": 0.07511,
"h": 96.5
},
"luminance": 0.36016
}Semantic roles & 50–950 ramp
primary
#AFA26B
secondary
#ADB2C9
accent
#75C662
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#13120D
muted
#82817E