#A2B339#A2B339
#A2B339 is a light, vivid yellow. Relative luminance 0.402; OKLCH L 73.1% C 0.145 H 117.0°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).
Color values
| HEX | #A2B339 |
|---|---|
| RGB | rgb(162, 179, 57) |
| HSL | hsl(68, 52%, 46%) |
| HSV | hsv(68, 68%, 70%) |
| CMYK | cmyk(9.5%, 0%, 68.2%, 29.8%) |
| CIE-LAB | lab(69.62, -22.11, 57.51) |
| CIE-LCH | lch(69.62, 61.62, 111.03°) |
| OKLab | oklab(73.06% -0.0658 0.1293) |
| OKLCH | oklch(73.06% 0.145 117) |
| XYZ | xyz(31.7596, 40.2174, 9.9597) |
| Luminance | 0.4022 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 2.08
Sick Green
#9DB92C
ΔE00 2.68
Sickly Green
#94B21C
ΔE00 3.15
Puke Green
#9AAE07
ΔE00 3.31
Booger Green
#96B403
ΔE00 3.67
Icky Green
#8FAE22
ΔE00 3.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2B339 #4A39B3
analogous
#B38739 #A2B339 #65B339
triadic
#A2B339 #39A2B3 #B339A2
tetradic
#A2B339 #39B387 #4A39B3 #B33965
square
#A2B339 #39B387 #4A39B3 #B33965
split-complementary
#A2B339 #3965B3 #8739B3
monochromatic
#4E561B #78852A #A2B339 #BCCC5E #CFDA8C
Accessibility & contrast
On white
2.32
#A2B339 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.04
#A2B339 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2B339
9.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2B339 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2B339 | 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)
#BFAA27
Deuteranopia (green-blind)
#BDAB42
Tritanopia (blue-blind)
#ACA99B
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a2b339; /* rgb */ color: rgb(162, 179, 57); /* oklch */ color: oklch(73.1% 0.145 117.0);
Tailwind
colors: {
custom: {
50: '#c1c976',
500: '#a2b339',
950: '#000000',
},
}SCSS
$custom: #a2b339; $custom-light: #c1c976; $custom-dark: #000000;
JSON
{
"hex": "#a2b339",
"rgb": {
"r": 162,
"g": 179,
"b": 57
},
"hsl": {
"h": 68.361,
"s": 51.695,
"l": 46.275
},
"oklch": {
"l": 0.73055,
"c": 0.14508,
"h": 117
},
"luminance": 0.40217
}Semantic roles & 50–950 ramp
primary
#A2B339
secondary
#8C83C5
accent
#4DDB61
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B