#A3A151#A3A151
#A3A151 is a light, moderate yellow. Relative luminance 0.339; OKLCH L 69.3% C 0.103 H 107.5°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).
Color values
| HEX | #A3A151 |
|---|---|
| RGB | rgb(163, 161, 81) |
| HSL | hsl(59, 34%, 48%) |
| HSV | hsv(59, 50%, 64%) |
| CMYK | cmyk(0%, 1.2%, 50.3%, 36.1%) |
| CIE-LAB | lab(64.86, -10.64, 41.50) |
| CIE-LCH | lch(64.86, 42.84, 104.38°) |
| OKLab | oklab(69.34% -0.031 0.0982) |
| OKLCH | oklch(69.34% 0.103 107.5) |
| XYZ | xyz(29.3350, 33.8711, 12.7755) |
| Luminance | 0.3387 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 2.86
Darkkhaki
#BDB76B
ΔE00 6.78
Vomit
#A2A415
ΔE00 6.86
Dark Khaki
#9B8F55
ΔE00 7.04
Moss Green
#8A9A5B
ΔE00 7.26
Pea Soup
#929901
ΔE00 7.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A3A151 #5153A3
analogous
#A37851 #A3A151 #7CA351
triadic
#A3A151 #51A3A1 #A151A3
tetradic
#A3A151 #51A378 #5153A3 #A3517C
square
#A3A151 #51A378 #5153A3 #A3517C
split-complementary
#A3A151 #517CA3 #7851A3
monochromatic
#515028 #7A793D #A3A151 #BBB976 #CFCE9F
Accessibility & contrast
On white
2.70
#A3A151 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.77
#A3A151 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A3A151
7.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A3A151 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A3A151 | 1.00 | 2.70 | 7.77 | 7.77 |
| #FFFFFF | 2.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AC9C4A
Deuteranopia (green-blind)
#AE9F55
Tritanopia (blue-blind)
#AD988F
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #a3a151; /* rgb */ color: rgb(163, 161, 81); /* oklch */ color: oklch(69.3% 0.103 107.5);
Tailwind
colors: {
custom: {
50: '#c0bc84',
500: '#a3a151',
950: '#000000',
},
}SCSS
$custom: #a3a151; $custom-light: #c0bc84; $custom-dark: #000000;
JSON
{
"hex": "#a3a151",
"rgb": {
"r": 163,
"g": 161,
"b": 81
},
"hsl": {
"h": 58.537,
"s": 33.607,
"l": 47.843
},
"oklch": {
"l": 0.69337,
"c": 0.10294,
"h": 107.5
},
"luminance": 0.3387
}Semantic roles & 50–950 ramp
primary
#A3A151
secondary
#9394BC
accent
#61CA5E
background
#FCFBF8
surface
#F8F6EF
border
#D1D0CA
text
#12120B
muted
#81817C