#AFA26C#AFA26C
#AFA26C is a light, moderate yellow. Relative luminance 0.360; OKLCH L 71.1% C 0.074 H 96.2°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA26C |
|---|---|
| RGB | rgb(175, 162, 108) |
| HSL | hsl(48, 30%, 55%) |
| HSV | hsv(48, 38%, 69%) |
| CMYK | cmyk(0%, 7.4%, 38.3%, 31.4%) |
| CIE-LAB | lab(66.55, -3.31, 29.81) |
| CIE-LCH | lch(66.55, 30.00, 96.33°) |
| OKLab | oklab(71.05% -0.008 0.0735) |
| OKLCH | oklch(71.05% 0.074 96.2) |
| XYZ | xyz(33.3069, 36.0384, 19.3861) |
| Luminance | 0.3604 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 4.19
Sand
#C2B280
ΔE00 5.09
Dust
#B2996E
ΔE00 5.96
Dark Beige
#AC9362
ΔE00 6.05
Sandy Brown
#C4A661
ΔE00 6.17
Sandstone
#C9AE74
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA26C #6C79AF
analogous
#AF806C #AFA26C #9AAF6C
triadic
#AFA26C #6CAFA2 #A26CAF
tetradic
#AFA26C #6CAF80 #6C79AF #AF6C9A
square
#AFA26C #6CAF80 #6C79AF #AF6C9A
split-complementary
#AFA26C #6C9AAF #806CAF
monochromatic
#685F39 #90834E #AFA26C #C5BB94 #DAD4BB
Accessibility & contrast
On white
2.56
#AFA26C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.21
#AFA26C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA26C
8.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA26C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA26C | 1.00 | 2.56 | 8.21 | 8.21 |
| #FFFFFF | 2.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AC9F68
Deuteranopia (green-blind)
#B0A46E
Tritanopia (blue-blind)
#B99A94
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #afa26c; /* rgb */ color: rgb(175, 162, 108); /* oklch */ color: oklch(71.1% 0.074 96.2);
Tailwind
colors: {
custom: {
50: '#c8bd96',
500: '#afa26c',
950: '#000000',
},
}SCSS
$custom: #afa26c; $custom-light: #c8bd96; $custom-dark: #000000;
JSON
{
"hex": "#afa26c",
"rgb": {
"r": 175,
"g": 162,
"b": 108
},
"hsl": {
"h": 48.358,
"s": 29.515,
"l": 55.49
},
"oklch": {
"l": 0.71051,
"c": 0.07392,
"h": 96.2
},
"luminance": 0.36037
}Semantic roles & 50–950 ramp
primary
#AFA26C
secondary
#ADB3C9
accent
#75C662
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#13120D
muted
#82817E