#A2B336#A2B336
#A2B336 is a light, vivid yellow. Relative luminance 0.402; OKLCH L 73.0% C 0.147 H 116.9°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).
Color values
| HEX | #A2B336 |
|---|---|
| RGB | rgb(162, 179, 54) |
| HSL | hsl(68, 54%, 46%) |
| HSV | hsv(68, 70%, 70%) |
| CMYK | cmyk(9.5%, 0%, 69.8%, 29.8%) |
| CIE-LAB | lab(69.60, -22.28, 58.65) |
| CIE-LCH | lch(69.60, 62.74, 110.80°) |
| OKLab | oklab(73.03% -0.0666 0.1312) |
| OKLCH | oklch(73.03% 0.147 116.9) |
| XYZ | xyz(31.6870, 40.1883, 9.5772) |
| Luminance | 0.4019 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 2.23
Sick Green
#9DB92C
ΔE00 2.58
Sickly Green
#94B21C
ΔE00 3.01
Puke Green
#9AAE07
ΔE00 3.04
Booger Green
#96B403
ΔE00 3.44
Barf Green
#94AC02
ΔE00 3.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2B336 #4736B3
analogous
#B38536 #A2B336 #63B336
triadic
#A2B336 #36A2B3 #B336A2
tetradic
#A2B336 #36B385 #4736B3 #B33663
square
#A2B336 #36B385 #4736B3 #B33663
split-complementary
#A2B336 #3663B3 #8536B3
monochromatic
#4D551A #778428 #A2B336 #BDCD59 #D0DB88
Accessibility & contrast
On white
2.32
#A2B336 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.04
#A2B336 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2B336
9.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2B336 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2B336 | 1.00 | 2.32 | 9.04 | 9.04 |
| #FFFFFF | 2.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFAA22
Deuteranopia (green-blind)
#BEAB40
Tritanopia (blue-blind)
#ACA99A
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a2b336; /* rgb */ color: rgb(162, 179, 54); /* oklch */ color: oklch(73.0% 0.147 116.9);
Tailwind
colors: {
custom: {
50: '#c1c975',
500: '#a2b336',
950: '#000000',
},
}SCSS
$custom: #a2b336; $custom-light: #c1c975; $custom-dark: #000000;
JSON
{
"hex": "#a2b336",
"rgb": {
"r": 162,
"g": 179,
"b": 54
},
"hsl": {
"h": 68.16,
"s": 53.648,
"l": 45.686
},
"oklch": {
"l": 0.73032,
"c": 0.14712,
"h": 116.9
},
"luminance": 0.40188
}Semantic roles & 50–950 ramp
primary
#A2B336
secondary
#8980C5
accent
#4BDD5F
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B