#A3AA31#A3AA31
#A3AA31 is a light, vivid yellow. Relative luminance 0.368; OKLCH L 71.0% C 0.140 H 112.7°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).
Color values
| HEX | #A3AA31 |
|---|---|
| RGB | rgb(163, 170, 49) |
| HSL | hsl(63, 55%, 43%) |
| HSV | hsv(63, 71%, 67%) |
| CMYK | cmyk(4.1%, 0%, 71.2%, 33.3%) |
| CIE-LAB | lab(67.10, -17.61, 58.07) |
| CIE-LCH | lch(67.10, 60.68, 106.87°) |
| OKLab | oklab(71.03% -0.0541 0.1291) |
| OKLCH | oklch(71.03% 0.14 112.7) |
| XYZ | xyz(30.0343, 36.7584, 8.4181) |
| Luminance | 0.3676 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.84
Pea Soup Green
#94A617
ΔE00 3.27
Puke Green
#9AAE07
ΔE00 3.56
Puke
#A5A502
ΔE00 3.61
Barf Green
#94AC02
ΔE00 4.14
Mustard Green
#A8B504
ΔE00 4.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A3AA31 #3831AA
analogous
#AA7431 #A3AA31 #66AA31
triadic
#A3AA31 #31A3AA #AA31A3
tetradic
#A3AA31 #31AA74 #3831AA #AA3166
square
#A3AA31 #31AA74 #3831AA #AA3166
split-complementary
#A3AA31 #3166AA #7431AA
monochromatic
#484B16 #757A23 #A3AA31 #C4CC4D #D4D97C
Accessibility & contrast
On white
2.51
#A3AA31 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.35
#A3AA31 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A3AA31
8.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A3AA31 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A3AA31 | 1.00 | 2.51 | 8.35 | 8.35 |
| #FFFFFF | 2.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A21C
Deuteranopia (green-blind)
#B7A53A
Tritanopia (blue-blind)
#AEA092
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #a3aa31; /* rgb */ color: rgb(163, 170, 49); /* oklch */ color: oklch(71.0% 0.140 112.7);
Tailwind
colors: {
custom: {
50: '#c1c371',
500: '#a3aa31',
950: '#000000',
},
}SCSS
$custom: #a3aa31; $custom-light: #c1c371; $custom-dark: #000000;
JSON
{
"hex": "#a3aa31",
"rgb": {
"r": 163,
"g": 170,
"b": 49
},
"hsl": {
"h": 63.471,
"s": 55.251,
"l": 42.941
},
"oklch": {
"l": 0.71029,
"c": 0.13998,
"h": 112.7
},
"luminance": 0.36758
}Semantic roles & 50–950 ramp
primary
#A3AA31
secondary
#7975C2
accent
#49DF52
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B