#A2A540#A2A540
#A2A540 is a light, vivid yellow. Relative luminance 0.350; OKLCH L 69.9% C 0.124 H 110.8°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).
Color values
| HEX | #A2A540 |
|---|---|
| RGB | rgb(162, 165, 64) |
| HSL | hsl(62, 44%, 45%) |
| HSV | hsv(62, 61%, 65%) |
| CMYK | cmyk(1.8%, 0%, 61.2%, 35.3%) |
| CIE-LAB | lab(65.72, -14.55, 50.49) |
| CIE-LCH | lch(65.72, 52.55, 106.07°) |
| OKLab | oklab(69.95% -0.0439 0.1155) |
| OKLCH | oklch(69.95% 0.124 110.8) |
| XYZ | xyz(29.2817, 34.9625, 10.0554) |
| Luminance | 0.3496 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 4.04
Pea Soup Green
#94A617
ΔE00 4.72
Puke
#A5A502
ΔE00 4.97
Khaki (survey)
#AAA662
ΔE00 5.53
Pea Soup
#929901
ΔE00 5.63
Baby Poop Green
#8F9805
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2A540 #4340A5
analogous
#A57540 #A2A540 #70A540
triadic
#A2A540 #40A2A5 #A540A2
tetradic
#A2A540 #40A575 #4340A5 #A54070
square
#A2A540 #40A575 #4340A5 #A54070
split-complementary
#A2A540 #4070A5 #7540A5
monochromatic
#4B4D1E #77792F #A2A540 #BFC261 #D1D38D
Accessibility & contrast
On white
2.63
#A2A540 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.99
#A2A540 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2A540
7.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2A540 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2A540 | 1.00 | 2.63 | 7.99 | 7.99 |
| #FFFFFF | 2.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B19E34
Deuteranopia (green-blind)
#B2A146
Tritanopia (blue-blind)
#AD9B90
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #a2a540; /* rgb */ color: rgb(162, 165, 64); /* oklch */ color: oklch(69.9% 0.124 110.8);
Tailwind
colors: {
custom: {
50: '#c0bf79',
500: '#a2a540',
950: '#000000',
},
}SCSS
$custom: #a2a540; $custom-light: #c0bf79; $custom-dark: #000000;
JSON
{
"hex": "#a2a540",
"rgb": {
"r": 162,
"g": 165,
"b": 64
},
"hsl": {
"h": 61.782,
"s": 44.105,
"l": 44.902
},
"oklch": {
"l": 0.69946,
"c": 0.12358,
"h": 110.8
},
"luminance": 0.34962
}Semantic roles & 50–950 ramp
primary
#A2A540
secondary
#8583BE
accent
#54D458
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#131209
muted
#82817B