#A2A438#A2A438
#A2A438 is a light, vivid yellow. Relative luminance 0.345; OKLCH L 69.6% C 0.129 H 110.3°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).
Color values
| HEX | #A2A438 |
|---|---|
| RGB | rgb(162, 164, 56) |
| HSL | hsl(61, 49%, 43%) |
| HSV | hsv(61, 66%, 64%) |
| CMYK | cmyk(1.2%, 0%, 65.9%, 35.7%) |
| CIE-LAB | lab(65.37, -14.56, 53.56) |
| CIE-LCH | lch(65.37, 55.50, 105.21°) |
| OKLab | oklab(69.65% -0.0448 0.1208) |
| OKLCH | oklch(69.65% 0.129 110.3) |
| XYZ | xyz(28.8905, 34.5186, 8.8815) |
| Luminance | 0.3452 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 3.05
Puke
#A5A502
ΔE00 4.00
Pea Soup Green
#94A617
ΔE00 4.33
Pea Soup
#929901
ΔE00 4.88
Baby Poop Green
#8F9805
ΔE00 5.20
Puke Green
#9AAE07
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2A438 #3A38A4
analogous
#A47038 #A2A438 #6CA438
triadic
#A2A438 #38A2A4 #A438A2
tetradic
#A2A438 #38A470 #3A38A4 #A4386C
square
#A2A438 #38A470 #3A38A4 #A4386C
split-complementary
#A2A438 #386CA4 #7038A4
monochromatic
#484919 #757628 #A2A438 #C3C554 #D3D482
Accessibility & contrast
On white
2.66
#A2A438 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.90
#A2A438 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2A438
7.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2A438 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2A438 | 1.00 | 2.66 | 7.90 | 7.90 |
| #FFFFFF | 2.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B19D29
Deuteranopia (green-blind)
#B2A03F
Tritanopia (blue-blind)
#AD9A8E
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #a2a438; /* rgb */ color: rgb(162, 164, 56); /* oklch */ color: oklch(69.6% 0.129 110.3);
Tailwind
colors: {
custom: {
50: '#c0be75',
500: '#a2a438',
950: '#000000',
},
}SCSS
$custom: #a2a438; $custom-light: #c0be75; $custom-dark: #000000;
JSON
{
"hex": "#a2a438",
"rgb": {
"r": 162,
"g": 164,
"b": 56
},
"hsl": {
"h": 61.111,
"s": 49.091,
"l": 43.137
},
"oklch": {
"l": 0.69647,
"c": 0.12884,
"h": 110.3
},
"luminance": 0.34518
}Semantic roles & 50–950 ramp
primary
#A2A438
secondary
#7B7ABE
accent
#4FD952
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131209
muted
#82817B