#AFA05A#AFA05A
#AFA05A is a light, moderate yellow. Relative luminance 0.350; OKLCH L 70.3% C 0.092 H 97.5°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA05A |
|---|---|
| RGB | rgb(175, 160, 90) |
| HSL | hsl(49, 35%, 52%) |
| HSV | hsv(49, 49%, 69%) |
| CMYK | cmyk(0%, 8.6%, 48.6%, 31.4%) |
| CIE-LAB | lab(65.74, -4.16, 38.26) |
| CIE-LCH | lch(65.74, 38.48, 96.21°) |
| OKLab | oklab(70.33% -0.0121 0.0916) |
| OKLCH | oklch(70.33% 0.092 97.5) |
| XYZ | xyz(32.0964, 34.9949, 14.7349) |
| Luminance | 0.3499 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 3.71
Sandy Brown
#C4A661
ΔE00 5.51
Dark Khaki
#9B8F55
ΔE00 5.99
Darkkhaki
#BDB76B
ΔE00 6.74
Desert
#CCAD60
ΔE00 6.74
Dark Sand
#A88F59
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA05A #5A69AF
analogous
#AF765A #AFA05A #94AF5A
triadic
#AFA05A #5AAFA0 #A05AAF
tetradic
#AFA05A #5AAF76 #5A69AF #AF5A94
square
#AFA05A #5AAF76 #5A69AF #AF5A94
split-complementary
#AFA05A #5A94AF #765AAF
monochromatic
#60572F #897D43 #AFA05A #C3B883 #D7CFAC
Accessibility & contrast
On white
2.63
#AFA05A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.00
#AFA05A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA05A
8.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA05A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA05A | 1.00 | 2.63 | 8.00 | 8.00 |
| #FFFFFF | 2.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AC9D54
Deuteranopia (green-blind)
#B0A25D
Tritanopia (blue-blind)
#BA978F
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #afa05a; /* rgb */ color: rgb(175, 160, 90); /* oklch */ color: oklch(70.3% 0.092 97.5);
Tailwind
colors: {
custom: {
50: '#c9bb8a',
500: '#afa05a',
950: '#000000',
},
}SCSS
$custom: #afa05a; $custom-light: #c9bb8a; $custom-dark: #000000;
JSON
{
"hex": "#afa05a",
"rgb": {
"r": 175,
"g": 160,
"b": 90
},
"hsl": {
"h": 49.412,
"s": 34.694,
"l": 51.961
},
"oklch": {
"l": 0.70328,
"c": 0.0924,
"h": 97.5
},
"luminance": 0.34994
}Semantic roles & 50–950 ramp
primary
#AFA05A
secondary
#A0A6C5
accent
#70CB5D
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13110C
muted
#82807D