#A3A231#A3A231
#A3A231 is a light, vivid yellow. Relative luminance 0.338; OKLCH L 69.2% C 0.132 H 108.9°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).
Color values
| HEX | #A3A231 |
|---|---|
| RGB | rgb(163, 162, 49) |
| HSL | hsl(59, 54%, 42%) |
| HSV | hsv(59, 70%, 64%) |
| CMYK | cmyk(0%, 0.6%, 69.9%, 36.1%) |
| CIE-LAB | lab(64.84, -13.49, 55.85) |
| CIE-LCH | lch(64.84, 57.46, 103.58°) |
| OKLab | oklab(69.23% -0.0426 0.1244) |
| OKLCH | oklch(69.23% 0.132 108.9) |
| XYZ | xyz(28.5800, 33.8498, 7.9333) |
| Luminance | 0.3385 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.42
Puke
#A5A502
ΔE00 3.27
Pea Soup
#929901
ΔE00 4.40
Pea Soup Green
#94A617
ΔE00 4.75
Baby Poop Green
#8F9805
ΔE00 4.85
Puke Green
#9AAE07
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A3A231 #3132A3
analogous
#A36931 #A3A231 #6BA331
triadic
#A3A231 #31A3A2 #A231A3
tetradic
#A3A231 #31A369 #3132A3 #A3316B
square
#A3A231 #31A369 #3132A3 #A3316B
split-complementary
#A3A231 #316BA3 #6931A3
monochromatic
#454415 #747323 #A3A231 #C8C749 #D6D678
Accessibility & contrast
On white
2.70
#A3A231 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.77
#A3A231 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A3A231
7.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A3A231 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A3A231 | 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)
#AF9B1F
Deuteranopia (green-blind)
#B19F39
Tritanopia (blue-blind)
#AF988C
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #a3a231; /* rgb */ color: rgb(163, 162, 49); /* oklch */ color: oklch(69.2% 0.132 108.9);
Tailwind
colors: {
custom: {
50: '#c1bd70',
500: '#a3a231',
950: '#000000',
},
}SCSS
$custom: #a3a231; $custom-light: #c1bd70; $custom-dark: #000000;
JSON
{
"hex": "#a3a231",
"rgb": {
"r": 163,
"g": 162,
"b": 49
},
"hsl": {
"h": 59.474,
"s": 53.774,
"l": 41.569
},
"oklch": {
"l": 0.69229,
"c": 0.13151,
"h": 108.9
},
"luminance": 0.33849
}Semantic roles & 50–950 ramp
primary
#A3A231
secondary
#7172BF
accent
#4CDD4B
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B