#A3A227#A3A227
#A3A227 is a light, vivid yellow. Relative luminance 0.338; OKLCH L 69.2% C 0.138 H 109.0°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).
Color values
| HEX | #A3A227 |
|---|---|
| RGB | rgb(163, 162, 39) |
| HSL | hsl(60, 61%, 40%) |
| HSV | hsv(60, 76%, 64%) |
| CMYK | cmyk(0%, 0.6%, 76.1%, 36.1%) |
| CIE-LAB | lab(64.78, -13.97, 59.38) |
| CIE-LCH | lch(64.78, 61.00, 103.24°) |
| OKLab | oklab(69.16% -0.0449 0.1301) |
| OKLCH | oklch(69.16% 0.138 109) |
| XYZ | xyz(28.3919, 33.7746, 6.9426) |
| Luminance | 0.3377 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.54
Puke
#A5A502
ΔE00 2.34
Pea Soup
#929901
ΔE00 4.02
Pea Soup Green
#94A617
ΔE00 4.56
Baby Poop Green
#8F9805
ΔE00 4.59
Puke Green
#9AAE07
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A3A227 #2728A3
analogous
#A36427 #A3A227 #66A327
triadic
#A3A227 #27A3A2 #A227A3
tetradic
#A3A227 #27A364 #2728A3 #A32766
square
#A3A227 #27A364 #2728A3 #A32766
split-complementary
#A3A227 #2766A3 #6427A3
monochromatic
#40400F #72711B #A3A227 #CFCE38 #DBDA69
Accessibility & contrast
On white
2.71
#A3A227 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.75
#A3A227 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A3A227
7.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A3A227 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A3A227 | 1.00 | 2.71 | 7.75 | 7.75 |
| #FFFFFF | 2.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09B08
Deuteranopia (green-blind)
#B19F31
Tritanopia (blue-blind)
#AF978B
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #a3a227; /* rgb */ color: rgb(163, 162, 39); /* oklch */ color: oklch(69.2% 0.138 109.0);
Tailwind
colors: {
custom: {
50: '#c2bd6c',
500: '#a3a227',
950: '#000000',
},
}SCSS
$custom: #a3a227; $custom-light: #c2bd6c; $custom-dark: #000000;
JSON
{
"hex": "#a3a227",
"rgb": {
"r": 163,
"g": 162,
"b": 39
},
"hsl": {
"h": 59.516,
"s": 61.386,
"l": 39.608
},
"oklch": {
"l": 0.69162,
"c": 0.13759,
"h": 109
},
"luminance": 0.33774
}Semantic roles & 50–950 ramp
primary
#A3A227
secondary
#6465C1
accent
#45E443
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A