#A3A731#A3A731
#A3A731 is a light, vivid yellow. Relative luminance 0.356; OKLCH L 70.4% C 0.137 H 111.4°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).
Color values
| HEX | #A3A731 |
|---|---|
| RGB | rgb(163, 167, 49) |
| HSL | hsl(62, 55%, 42%) |
| HSV | hsv(62, 71%, 65%) |
| CMYK | cmyk(2.4%, 0%, 70.7%, 34.5%) |
| CIE-LAB | lab(66.25, -16.07, 57.24) |
| CIE-LCH | lch(66.25, 59.45, 105.69°) |
| OKLab | oklab(70.35% -0.0498 0.1274) |
| OKLCH | oklch(70.35% 0.137 111.4) |
| XYZ | xyz(29.4783, 35.6465, 8.2327) |
| Luminance | 0.3565 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.31
Puke
#A5A502
ΔE00 3.21
Pea Soup Green
#94A617
ΔE00 3.61
Puke Green
#9AAE07
ΔE00 4.35
Barf Green
#94AC02
ΔE00 4.84
Pea Soup
#929901
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A3A731 #3531A7
analogous
#A77031 #A3A731 #68A731
triadic
#A3A731 #31A3A7 #A731A3
tetradic
#A3A731 #31A770 #3531A7 #A73168
square
#A3A731 #31A770 #3531A7 #A73168
split-complementary
#A3A731 #3168A7 #7031A7
monochromatic
#474815 #757823 #A3A731 #C6CA4B #D5D87A
Accessibility & contrast
On white
2.58
#A3A731 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.13
#A3A731 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A3A731
8.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A3A731 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A3A731 | 1.00 | 2.58 | 8.13 | 8.13 |
| #FFFFFF | 2.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B49F1D
Deuteranopia (green-blind)
#B5A33A
Tritanopia (blue-blind)
#AE9D90
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #a3a731; /* rgb */ color: rgb(163, 167, 49); /* oklch */ color: oklch(70.4% 0.137 111.4);
Tailwind
colors: {
custom: {
50: '#c1c071',
500: '#a3a731',
950: '#000000',
},
}SCSS
$custom: #a3a731; $custom-light: #c1c071; $custom-dark: #000000;
JSON
{
"hex": "#a3a731",
"rgb": {
"r": 163,
"g": 167,
"b": 49
},
"hsl": {
"h": 62.034,
"s": 54.63,
"l": 42.353
},
"oklch": {
"l": 0.70352,
"c": 0.13675,
"h": 111.4
},
"luminance": 0.35646
}Semantic roles & 50–950 ramp
primary
#A3A731
secondary
#7673C1
accent
#4ADE4F
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B