#A2B342#A2B342
#A2B342 is a light, vivid yellow. Relative luminance 0.403; OKLCH L 73.1% C 0.138 H 117.2°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).
Color values
| HEX | #A2B342 |
|---|---|
| RGB | rgb(162, 179, 66) |
| HSL | hsl(69, 46%, 48%) |
| HSV | hsv(69, 63%, 70%) |
| CMYK | cmyk(9.5%, 0%, 63.1%, 29.8%) |
| CIE-LAB | lab(69.69, -21.52, 53.90) |
| CIE-LCH | lch(69.69, 58.04, 111.76°) |
| OKLab | oklab(73.13% -0.0633 0.123) |
| OKLCH | oklch(73.13% 0.138 117.2) |
| XYZ | xyz(32.0044, 40.3153, 11.2488) |
| Luminance | 0.4032 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 1.93
Sick Green
#9DB92C
ΔE00 3.23
Avocado (survey)
#90B134
ΔE00 3.60
Sickly Green
#94B21C
ΔE00 3.77
Icky Green
#8FAE22
ΔE00 4.01
Puke Green
#9AAE07
ΔE00 4.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2B342 #5342B3
analogous
#B38C42 #A2B342 #69B342
triadic
#A2B342 #42A2B3 #B342A2
tetradic
#A2B342 #42B38C #5342B3 #B34269
square
#A2B342 #42B38C #5342B3 #B34269
split-complementary
#A2B342 #4269B3 #8C42B3
monochromatic
#515A21 #7A8632 #A2B342 #BAC86A #CFD997
Accessibility & contrast
On white
2.32
#A2B342 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.06
#A2B342 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2B342
9.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2B342 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2B342 | 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)
#BFAA34
Deuteranopia (green-blind)
#BDAB4A
Tritanopia (blue-blind)
#ABA99B
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a2b342; /* rgb */ color: rgb(162, 179, 66); /* oklch */ color: oklch(73.1% 0.138 117.2);
Tailwind
colors: {
custom: {
50: '#c0c97c',
500: '#a2b342',
950: '#000000',
},
}SCSS
$custom: #a2b342; $custom-light: #c0c97c; $custom-dark: #000000;
JSON
{
"hex": "#a2b342",
"rgb": {
"r": 162,
"g": 179,
"b": 66
},
"hsl": {
"h": 69.027,
"s": 46.122,
"l": 48.039
},
"oklch": {
"l": 0.73133,
"c": 0.13833,
"h": 117.2
},
"luminance": 0.40315
}Semantic roles & 50–950 ramp
primary
#A2B342
secondary
#958CC4
accent
#52D666
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C