#A8A261#A8A261
#A8A261 is a light, moderate yellow. Relative luminance 0.350; OKLCH L 70.2% C 0.086 H 103.8°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A261 |
|---|---|
| RGB | rgb(168, 162, 97) |
| HSL | hsl(55, 29%, 52%) |
| HSV | hsv(55, 42%, 66%) |
| CMYK | cmyk(0%, 3.6%, 42.3%, 34.1%) |
| CIE-LAB | lab(65.77, -7.45, 34.52) |
| CIE-LCH | lch(65.77, 35.32, 102.18°) |
| OKLab | oklab(70.23% -0.0206 0.0838) |
| OKLCH | oklch(70.23% 0.086 103.8) |
| XYZ | xyz(31.2270, 35.0294, 16.4233) |
| Luminance | 0.3503 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 1.33
Dark Khaki
#9B8F55
ΔE00 6.12
Darkkhaki
#BDB76B
ΔE00 6.20
Sand
#C2B280
ΔE00 7.32
Moss Green
#8A9A5B
ΔE00 7.65
Sandy Brown
#C4A661
ΔE00 8.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A261 #6167A8
analogous
#A87F61 #A8A261 #8BA861
triadic
#A8A261 #61A8A2 #A261A8
tetradic
#A8A261 #61A87F #6167A8 #A8618B
square
#A8A261 #61A87F #6167A8 #A8618B
split-complementary
#A8A261 #618BA8 #7F61A8
monochromatic
#5C5833 #837E48 #A8A261 #BEB988 #D3D0B0
Accessibility & contrast
On white
2.62
#A8A261 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.01
#A8A261 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A261
8.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A261 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A261 | 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)
#AD9E5C
Deuteranopia (green-blind)
#AFA164
Tritanopia (blue-blind)
#B29A92
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #a8a261; /* rgb */ color: rgb(168, 162, 97); /* oklch */ color: oklch(70.2% 0.086 103.8);
Tailwind
colors: {
custom: {
50: '#c3bd8f',
500: '#a8a261',
950: '#000000',
},
}SCSS
$custom: #a8a261; $custom-light: #c3bd8f; $custom-dark: #000000;
JSON
{
"hex": "#a8a261",
"rgb": {
"r": 168,
"g": 162,
"b": 97
},
"hsl": {
"h": 54.93,
"s": 28.98,
"l": 51.961
},
"oklch": {
"l": 0.70233,
"c": 0.08628,
"h": 103.8
},
"luminance": 0.35029
}Semantic roles & 50–950 ramp
primary
#A8A261
secondary
#A3A5C2
accent
#6BC563
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13120C
muted
#82817D