#AFA05B#AFA05B
#AFA05B is a light, moderate yellow. Relative luminance 0.350; OKLCH L 70.3% C 0.091 H 97.4°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA05B |
|---|---|
| RGB | rgb(175, 160, 91) |
| HSL | hsl(49, 34%, 52%) |
| HSV | hsv(49, 48%, 69%) |
| CMYK | cmyk(0%, 8.6%, 48%, 31.4%) |
| CIE-LAB | lab(65.76, -4.07, 37.76) |
| CIE-LCH | lch(65.76, 37.98, 96.15°) |
| OKLab | oklab(70.34% -0.0117 0.0906) |
| OKLCH | oklch(70.34% 0.091 97.4) |
| XYZ | xyz(32.1393, 35.0121, 14.9606) |
| Luminance | 0.3501 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 3.70
Sandy Brown
#C4A661
ΔE00 5.48
Dark Khaki
#9B8F55
ΔE00 5.94
Dark Sand
#A88F59
ΔE00 6.74
Desert
#CCAD60
ΔE00 6.75
Dark Beige
#AC9362
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA05B #5B6AAF
analogous
#AF765B #AFA05B #94AF5B
triadic
#AFA05B #5BAFA0 #A05BAF
tetradic
#AFA05B #5BAF76 #5B6AAF #AF5B94
square
#AFA05B #5BAF76 #5B6AAF #AF5B94
split-complementary
#AFA05B #5B94AF #765BAF
monochromatic
#61582F #8A7D43 #AFA05B #C3B884 #D7D0AD
Accessibility & contrast
On white
2.62
#AFA05B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.00
#AFA05B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA05B
8.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA05B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA05B | 1.00 | 2.62 | 8.00 | 8.00 |
| #FFFFFF | 2.62 | 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)
#AC9D55
Deuteranopia (green-blind)
#B0A25E
Tritanopia (blue-blind)
#BA9790
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #afa05b; /* rgb */ color: rgb(175, 160, 91); /* oklch */ color: oklch(70.3% 0.091 97.4);
Tailwind
colors: {
custom: {
50: '#c8bb8b',
500: '#afa05b',
950: '#000000',
},
}SCSS
$custom: #afa05b; $custom-light: #c8bb8b; $custom-dark: #000000;
JSON
{
"hex": "#afa05b",
"rgb": {
"r": 175,
"g": 160,
"b": 91
},
"hsl": {
"h": 49.286,
"s": 34.426,
"l": 52.157
},
"oklch": {
"l": 0.70343,
"c": 0.09133,
"h": 97.4
},
"luminance": 0.35011
}Semantic roles & 50–950 ramp
primary
#AFA05B
secondary
#A1A7C5
accent
#71CB5D
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13110C
muted
#82807D