#A2AA38#A2AA38
#A2AA38 is a light, vivid yellow. Relative luminance 0.367; OKLCH L 71.0% C 0.135 H 113.2°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).
Color values
| HEX | #A2AA38 |
|---|---|
| RGB | rgb(162, 170, 56) |
| HSL | hsl(64, 50%, 44%) |
| HSV | hsv(64, 67%, 67%) |
| CMYK | cmyk(4.7%, 0%, 67.1%, 33.3%) |
| CIE-LAB | lab(67.06, -17.64, 55.30) |
| CIE-LCH | lch(67.06, 58.05, 107.69°) |
| OKLab | oklab(71% -0.0534 0.1245) |
| OKLCH | oklch(71% 0.135 113.2) |
| XYZ | xyz(29.9897, 36.7170, 9.2479) |
| Luminance | 0.3672 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 3.43
Vomit
#A2A415
ΔE00 3.56
Puke Green
#9AAE07
ΔE00 3.96
Barf Green
#94AC02
ΔE00 4.38
Puke
#A5A502
ΔE00 4.41
Booger
#9BB53C
ΔE00 4.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2AA38 #4038AA
analogous
#AA7938 #A2AA38 #69AA38
triadic
#A2AA38 #38A2AA #AA38A2
tetradic
#A2AA38 #38AA79 #4038AA #AA3869
square
#A2AA38 #38AA79 #4038AA #AA3869
split-complementary
#A2AA38 #3869AA #7938AA
monochromatic
#4A4E1A #767C29 #A2AA38 #C0C857 #D1D785
Accessibility & contrast
On white
2.52
#A2AA38 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.34
#A2AA38 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2AA38
8.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2AA38 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2AA38 | 1.00 | 2.52 | 8.34 | 8.34 |
| #FFFFFF | 2.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B6A228
Deuteranopia (green-blind)
#B6A440
Tritanopia (blue-blind)
#ADA093
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #a2aa38; /* rgb */ color: rgb(162, 170, 56); /* oklch */ color: oklch(71.0% 0.135 113.2);
Tailwind
colors: {
custom: {
50: '#c0c375',
500: '#a2aa38',
950: '#000000',
},
}SCSS
$custom: #a2aa38; $custom-light: #c0c375; $custom-dark: #000000;
JSON
{
"hex": "#a2aa38",
"rgb": {
"r": 162,
"g": 170,
"b": 56
},
"hsl": {
"h": 64.211,
"s": 50.442,
"l": 44.314
},
"oklch": {
"l": 0.71,
"c": 0.13546,
"h": 113.2
},
"luminance": 0.36716
}Semantic roles & 50–950 ramp
primary
#A2AA38
secondary
#827DC1
accent
#4EDA58
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131209
muted
#82817B