#AFA05D#AFA05D
#AFA05D is a light, moderate yellow. Relative luminance 0.350; OKLCH L 70.4% C 0.089 H 97.1°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA05D |
|---|---|
| RGB | rgb(175, 160, 93) |
| HSL | hsl(49, 34%, 53%) |
| HSV | hsv(49, 47%, 69%) |
| CMYK | cmyk(0%, 8.6%, 46.9%, 31.4%) |
| CIE-LAB | lab(65.79, -3.87, 36.76) |
| CIE-LCH | lch(65.79, 36.96, 96.01°) |
| OKLab | oklab(70.37% -0.011 0.0885) |
| OKLCH | oklch(70.37% 0.089 97.1) |
| XYZ | xyz(32.2267, 35.0471, 15.4210) |
| Luminance | 0.3505 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 3.70
Sandy Brown
#C4A661
ΔE00 5.43
Dark Khaki
#9B8F55
ΔE00 5.84
Dark Beige
#AC9362
ΔE00 6.51
Dark Sand
#A88F59
ΔE00 6.57
Sand
#C2B280
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA05D #5D6CAF
analogous
#AF775D #AFA05D #95AF5D
triadic
#AFA05D #5DAFA0 #A05DAF
tetradic
#AFA05D #5DAF77 #5D6CAF #AF5D95
square
#AFA05D #5DAF77 #5D6CAF #AF5D95
split-complementary
#AFA05D #5D95AF #775DAF
monochromatic
#615830 #8A7E44 #AFA05D #C3B886 #D7D0AF
Accessibility & contrast
On white
2.62
#AFA05D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.01
#AFA05D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA05D
8.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA05D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA05D | 1.00 | 2.62 | 8.01 | 8.01 |
| #FFFFFF | 2.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AC9D58
Deuteranopia (green-blind)
#B0A260
Tritanopia (blue-blind)
#BA9790
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #afa05d; /* rgb */ color: rgb(175, 160, 93); /* oklch */ color: oklch(70.4% 0.089 97.1);
Tailwind
colors: {
custom: {
50: '#c8bb8c',
500: '#afa05d',
950: '#000000',
},
}SCSS
$custom: #afa05d; $custom-light: #c8bb8c; $custom-dark: #000000;
JSON
{
"hex": "#afa05d",
"rgb": {
"r": 175,
"g": 160,
"b": 93
},
"hsl": {
"h": 49.024,
"s": 33.884,
"l": 52.549
},
"oklch": {
"l": 0.70373,
"c": 0.08916,
"h": 97.1
},
"luminance": 0.35046
}Semantic roles & 50–950 ramp
primary
#AFA05D
secondary
#A2A9C6
accent
#72CA5E
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13110C
muted
#82807D