#A2A227#A2A227
#A2A227 is a light, vivid yellow. Relative luminance 0.337; OKLCH L 69.1% C 0.138 H 109.5°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).
Color values
| HEX | #A2A227 |
|---|---|
| RGB | rgb(162, 162, 39) |
| HSL | hsl(60, 61%, 39%) |
| HSV | hsv(60, 76%, 64%) |
| CMYK | cmyk(0%, 0%, 75.9%, 36.5%) |
| CIE-LAB | lab(64.70, -14.41, 59.27) |
| CIE-LCH | lch(64.70, 61.00, 103.66°) |
| OKLab | oklab(69.07% -0.046 0.1299) |
| OKLCH | oklch(69.07% 0.138 109.5) |
| XYZ | xyz(28.1879, 33.6694, 6.9331) |
| Luminance | 0.3367 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.50
Puke
#A5A502
ΔE00 2.41
Pea Soup
#929901
ΔE00 3.86
Pea Soup Green
#94A617
ΔE00 4.31
Baby Poop Green
#8F9805
ΔE00 4.41
Puke Green
#9AAE07
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2A227 #2727A2
analogous
#A26527 #A2A227 #65A227
triadic
#A2A227 #27A2A2 #A227A2
tetradic
#A2A227 #27A265 #2727A2 #A22765
square
#A2A227 #27A265 #2727A2 #A22765
split-complementary
#A2A227 #2765A2 #6527A2
monochromatic
#3F3F0F #71711B #A2A227 #CFCF37 #DBDB69
Accessibility & contrast
On white
2.72
#A2A227 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.73
#A2A227 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2A227
7.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2A227 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2A227 | 1.00 | 2.72 | 7.73 | 7.73 |
| #FFFFFF | 2.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AF9B08
Deuteranopia (green-blind)
#B19F31
Tritanopia (blue-blind)
#AE978B
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #a2a227; /* rgb */ color: rgb(162, 162, 39); /* oklch */ color: oklch(69.1% 0.138 109.5);
Tailwind
colors: {
custom: {
50: '#c1bd6b',
500: '#a2a227',
950: '#000000',
},
}SCSS
$custom: #a2a227; $custom-light: #c1bd6b; $custom-dark: #000000;
JSON
{
"hex": "#a2a227",
"rgb": {
"r": 162,
"g": 162,
"b": 39
},
"hsl": {
"h": 60,
"s": 61.194,
"l": 39.412
},
"oklch": {
"l": 0.69074,
"c": 0.1378,
"h": 109.5
},
"luminance": 0.33669
}Semantic roles & 50–950 ramp
primary
#A2A227
secondary
#6464C1
accent
#43E443
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A