#AFA55E#AFA55E
#AFA55E is a light, moderate yellow. Relative luminance 0.368; OKLCH L 71.5% C 0.093 H 101.3°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA55E |
|---|---|
| RGB | rgb(175, 165, 94) |
| HSL | hsl(53, 34%, 53%) |
| HSV | hsv(53, 46%, 69%) |
| CMYK | cmyk(0%, 5.7%, 46.3%, 31.4%) |
| CIE-LAB | lab(67.15, -6.44, 37.93) |
| CIE-LCH | lch(67.15, 38.48, 99.64°) |
| OKLab | oklab(71.46% -0.0183 0.0912) |
| OKLCH | oklch(71.46% 0.093 101.3) |
| XYZ | xyz(33.1555, 36.8334, 15.9506) |
| Luminance | 0.3683 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 1.98
Darkkhaki
#BDB76B
ΔE00 5.06
Sandy Brown
#C4A661
ΔE00 6.60
Sand
#C2B280
ΔE00 6.70
Dark Khaki
#9B8F55
ΔE00 7.15
Desert
#CCAD60
ΔE00 7.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA55E #5E68AF
analogous
#AF7D5E #AFA55E #90AF5E
triadic
#AFA55E #5EAFA5 #A55EAF
tetradic
#AFA55E #5EAF7D #5E68AF #AF5E90
square
#AFA55E #5EAF7D #5E68AF #AF5E90
split-complementary
#AFA55E #5E90AF #7D5EAF
monochromatic
#625C31 #8B8245 #AFA55E #C3BC87 #D8D3B0
Accessibility & contrast
On white
2.51
#AFA55E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.37
#AFA55E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA55E
8.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA55E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA55E | 1.00 | 2.51 | 8.37 | 8.37 |
| #FFFFFF | 2.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B1A158
Deuteranopia (green-blind)
#B4A561
Tritanopia (blue-blind)
#BA9C94
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #afa55e; /* rgb */ color: rgb(175, 165, 94); /* oklch */ color: oklch(71.5% 0.093 101.3);
Tailwind
colors: {
custom: {
50: '#c8bf8d',
500: '#afa55e',
950: '#000000',
},
}SCSS
$custom: #afa55e; $custom-light: #c8bf8d; $custom-dark: #000000;
JSON
{
"hex": "#afa55e",
"rgb": {
"r": 175,
"g": 165,
"b": 94
},
"hsl": {
"h": 52.593,
"s": 33.61,
"l": 52.745
},
"oklch": {
"l": 0.7146,
"c": 0.09299,
"h": 101.3
},
"luminance": 0.36832
}Semantic roles & 50–950 ramp
primary
#AFA55E
secondary
#A3A7C6
accent
#6BCA5E
background
#FCFBF8
surface
#F8F7F0
border
#D1D0CB
text
#13120C
muted
#82817D