#A2B340#A2B340
#A2B340 is a light, vivid yellow. Relative luminance 0.403; OKLCH L 73.1% C 0.140 H 117.2°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).
Color values
| HEX | #A2B340 |
|---|---|
| RGB | rgb(162, 179, 64) |
| HSL | hsl(69, 47%, 48%) |
| HSV | hsv(69, 64%, 70%) |
| CMYK | cmyk(9.5%, 0%, 64.2%, 29.8%) |
| CIE-LAB | lab(69.68, -21.66, 54.73) |
| CIE-LCH | lch(69.68, 58.86, 111.59°) |
| OKLab | oklab(73.11% -0.0639 0.1245) |
| OKLCH | oklch(73.11% 0.14 117.2) |
| XYZ | xyz(31.9464, 40.2921, 10.9437) |
| Luminance | 0.4029 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 1.91
Sick Green
#9DB92C
ΔE00 3.07
Avocado (survey)
#90B134
ΔE00 3.60
Sickly Green
#94B21C
ΔE00 3.61
Icky Green
#8FAE22
ΔE00 3.91
Puke Green
#9AAE07
ΔE00 4.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2B340 #5140B3
analogous
#B38B40 #A2B340 #68B340
triadic
#A2B340 #40A2B3 #B340A2
tetradic
#A2B340 #40B38B #5140B3 #B34068
square
#A2B340 #40B38B #5140B3 #B34068
split-complementary
#A2B340 #4068B3 #8B40B3
monochromatic
#505920 #798630 #A2B340 #BAC967 #CFD994
Accessibility & contrast
On white
2.32
#A2B340 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.06
#A2B340 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2B340
9.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2B340 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2B340 | 1.00 | 2.32 | 9.06 | 9.06 |
| #FFFFFF | 2.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFAA31
Deuteranopia (green-blind)
#BDAB48
Tritanopia (blue-blind)
#ABA99B
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a2b340; /* rgb */ color: rgb(162, 179, 64); /* oklch */ color: oklch(73.1% 0.140 117.2);
Tailwind
colors: {
custom: {
50: '#c0c97a',
500: '#a2b340',
950: '#000000',
},
}SCSS
$custom: #a2b340; $custom-light: #c0c97a; $custom-dark: #000000;
JSON
{
"hex": "#a2b340",
"rgb": {
"r": 162,
"g": 179,
"b": 64
},
"hsl": {
"h": 68.87,
"s": 47.325,
"l": 47.647
},
"oklch": {
"l": 0.73115,
"c": 0.1399,
"h": 117.2
},
"luminance": 0.40292
}Semantic roles & 50–950 ramp
primary
#A2B340
secondary
#938AC4
accent
#51D765
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C