#A2A538#A2A538
#A2A538 is a light, vivid yellow. Relative luminance 0.349; OKLCH L 69.9% C 0.130 H 110.9°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).
Color values
| HEX | #A2A538 |
|---|---|
| RGB | rgb(162, 165, 56) |
| HSL | hsl(62, 49%, 43%) |
| HSV | hsv(62, 66%, 65%) |
| CMYK | cmyk(1.8%, 0%, 66.1%, 35.3%) |
| CIE-LAB | lab(65.65, -15.08, 53.85) |
| CIE-LCH | lch(65.65, 55.92, 105.64°) |
| OKLab | oklab(69.87% -0.0462 0.1214) |
| OKLCH | oklch(69.87% 0.13 110.9) |
| XYZ | xyz(29.0701, 34.8779, 8.9414) |
| Luminance | 0.3488 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 3.04
Puke
#A5A502
ΔE00 4.00
Pea Soup Green
#94A617
ΔE00 4.11
Pea Soup
#929901
ΔE00 4.99
Puke Green
#9AAE07
ΔE00 5.23
Baby Poop Green
#8F9805
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2A538 #3B38A5
analogous
#A57138 #A2A538 #6BA538
triadic
#A2A538 #38A2A5 #A538A2
tetradic
#A2A538 #38A571 #3B38A5 #A5386B
square
#A2A538 #38A571 #3B38A5 #A5386B
split-complementary
#A2A538 #386BA5 #7138A5
monochromatic
#484A19 #757728 #A2A538 #C2C555 #D3D583
Accessibility & contrast
On white
2.63
#A2A538 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.98
#A2A538 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2A538
7.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2A538 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2A538 | 1.00 | 2.63 | 7.98 | 7.98 |
| #FFFFFF | 2.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B29E29
Deuteranopia (green-blind)
#B2A13F
Tritanopia (blue-blind)
#AD9B8F
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #a2a538; /* rgb */ color: rgb(162, 165, 56); /* oklch */ color: oklch(69.9% 0.130 110.9);
Tailwind
colors: {
custom: {
50: '#c0bf75',
500: '#a2a538',
950: '#000000',
},
}SCSS
$custom: #a2a538; $custom-light: #c0bf75; $custom-dark: #000000;
JSON
{
"hex": "#a2a538",
"rgb": {
"r": 162,
"g": 165,
"b": 56
},
"hsl": {
"h": 61.651,
"s": 49.321,
"l": 43.333
},
"oklch": {
"l": 0.69872,
"c": 0.12992,
"h": 110.9
},
"luminance": 0.34877
}Semantic roles & 50–950 ramp
primary
#A2A538
secondary
#7C7ABE
accent
#4FD953
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131209
muted
#82817B