#A3A228#A3A228
#A3A228 is a light, vivid yellow. Relative luminance 0.338; OKLCH L 69.2% C 0.137 H 109.0°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).
Color values
| HEX | #A3A228 |
|---|---|
| RGB | rgb(163, 162, 40) |
| HSL | hsl(60, 61%, 40%) |
| HSV | hsv(60, 75%, 64%) |
| CMYK | cmyk(0%, 0.6%, 75.5%, 36.1%) |
| CIE-LAB | lab(64.79, -13.92, 59.05) |
| CIE-LCH | lch(64.79, 60.67, 103.27°) |
| OKLab | oklab(69.17% -0.0447 0.1296) |
| OKLCH | oklch(69.17% 0.137 109) |
| XYZ | xyz(28.4087, 33.7813, 7.0310) |
| Luminance | 0.3378 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.61
Puke
#A5A502
ΔE00 2.42
Pea Soup
#929901
ΔE00 4.04
Pea Soup Green
#94A617
ΔE00 4.57
Baby Poop Green
#8F9805
ΔE00 4.60
Puke Green
#9AAE07
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A3A228 #2829A3
analogous
#A36428 #A3A228 #67A328
triadic
#A3A228 #28A3A2 #A228A3
tetradic
#A3A228 #28A364 #2829A3 #A32867
square
#A3A228 #28A364 #2829A3 #A32867
split-complementary
#A3A228 #2867A3 #6428A3
monochromatic
#414010 #72711C #A3A228 #CFCD3A #DBDA6B
Accessibility & contrast
On white
2.71
#A3A228 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.76
#A3A228 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A3A228
7.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A3A228 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A3A228 | 1.00 | 2.71 | 7.76 | 7.76 |
| #FFFFFF | 2.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09B0C
Deuteranopia (green-blind)
#B19F32
Tritanopia (blue-blind)
#AF978B
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #a3a228; /* rgb */ color: rgb(163, 162, 40); /* oklch */ color: oklch(69.2% 0.137 109.0);
Tailwind
colors: {
custom: {
50: '#c2bd6c',
500: '#a3a228',
950: '#000000',
},
}SCSS
$custom: #a3a228; $custom-light: #c2bd6c; $custom-dark: #000000;
JSON
{
"hex": "#a3a228",
"rgb": {
"r": 163,
"g": 162,
"b": 40
},
"hsl": {
"h": 59.512,
"s": 60.591,
"l": 39.804
},
"oklch": {
"l": 0.69168,
"c": 0.13704,
"h": 109
},
"luminance": 0.3378
}Semantic roles & 50–950 ramp
primary
#A3A228
secondary
#6667C1
accent
#45E444
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A