#A2A240#A2A240
#A2A240 is a light, vivid yellow. Relative luminance 0.339; OKLCH L 69.3% C 0.120 H 109.2°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).
Color values
| HEX | #A2A240 |
|---|---|
| RGB | rgb(162, 162, 64) |
| HSL | hsl(60, 43%, 44%) |
| HSV | hsv(60, 60%, 64%) |
| CMYK | cmyk(0%, 0%, 60.5%, 36.5%) |
| CIE-LAB | lab(64.88, -12.99, 49.58) |
| CIE-LCH | lch(64.88, 51.25, 104.68°) |
| OKLab | oklab(69.27% -0.0395 0.1136) |
| OKLCH | oklch(69.27% 0.12 109.2) |
| XYZ | xyz(28.7469, 33.8930, 9.8772) |
| Luminance | 0.3389 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 4.22
Puke
#A5A502
ΔE00 5.12
Khaki (survey)
#AAA662
ΔE00 5.23
Pea Soup Green
#94A617
ΔE00 5.42
Pea Soup
#929901
ΔE00 5.44
Baby Poop Green
#8F9805
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2A240 #4040A2
analogous
#A27140 #A2A240 #71A240
triadic
#A2A240 #40A2A2 #A240A2
tetradic
#A2A240 #40A271 #4040A2 #A24071
square
#A2A240 #40A271 #4040A2 #A24071
split-complementary
#A2A240 #4071A2 #7140A2
monochromatic
#4A4A1D #76762F #A2A240 #C0C05F #D1D18B
Accessibility & contrast
On white
2.70
#A2A240 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.78
#A2A240 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2A240
7.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2A240 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2A240 | 1.00 | 2.70 | 7.78 | 7.78 |
| #FFFFFF | 2.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AE9C35
Deuteranopia (green-blind)
#B09F46
Tritanopia (blue-blind)
#AD988D
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #a2a240; /* rgb */ color: rgb(162, 162, 64); /* oklch */ color: oklch(69.3% 0.120 109.2);
Tailwind
colors: {
custom: {
50: '#c0bd79',
500: '#a2a240',
950: '#000000',
},
}SCSS
$custom: #a2a240; $custom-light: #c0bd79; $custom-dark: #000000;
JSON
{
"hex": "#a2a240",
"rgb": {
"r": 162,
"g": 162,
"b": 64
},
"hsl": {
"h": 60,
"s": 43.363,
"l": 44.314
},
"oklch": {
"l": 0.69274,
"c": 0.12025,
"h": 109.2
},
"luminance": 0.33892
}Semantic roles & 50–950 ramp
primary
#A2A240
secondary
#8282BC
accent
#55D355
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#131209
muted
#82817B