#A2B831#A2B831
#A2B831 is a light, vivid yellow. Relative luminance 0.422; OKLCH L 74.1% C 0.156 H 118.6°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).
Color values
| HEX | #A2B831 |
|---|---|
| RGB | rgb(162, 184, 49) |
| HSL | hsl(70, 58%, 46%) |
| HSV | hsv(70, 73%, 72%) |
| CMYK | cmyk(12%, 0%, 73.4%, 27.8%) |
| CIE-LAB | lab(71.00, -25.01, 61.82) |
| CIE-LCH | lch(71.00, 66.69, 112.03°) |
| OKLab | oklab(74.14% -0.0746 0.137) |
| OKLCH | oklch(74.14% 0.156 118.6) |
| XYZ | xyz(32.5959, 42.1844, 9.3304) |
| Luminance | 0.4218 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 1.19
Booger
#9BB53C
ΔE00 2.20
Pea
#A4BF20
ΔE00 2.41
Bright Olive
#9CBB04
ΔE00 2.67
Sickly Green
#94B21C
ΔE00 2.69
Booger Green
#96B403
ΔE00 2.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2B831 #4731B8
analogous
#B88A31 #A2B831 #5EB831
triadic
#A2B831 #31A2B8 #B831A2
tetradic
#A2B831 #31B88A #4731B8 #B8315E
square
#A2B831 #31B88A #4731B8 #B8315E
split-complementary
#A2B831 #315EB8 #8A31B8
monochromatic
#4D5717 #778824 #A2B831 #BDD255 #D0DE85
Accessibility & contrast
On white
2.23
#A2B831 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.44
#A2B831 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2B831
9.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2B831 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2B831 | 1.00 | 2.23 | 9.44 | 9.44 |
| #FFFFFF | 2.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4AE16
Deuteranopia (green-blind)
#C2AE3D
Tritanopia (blue-blind)
#ACAE9E
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #a2b831; /* rgb */ color: rgb(162, 184, 49); /* oklch */ color: oklch(74.1% 0.156 118.6);
Tailwind
colors: {
custom: {
50: '#c1cd73',
500: '#a2b831',
950: '#000000',
},
}SCSS
$custom: #a2b831; $custom-light: #c1cd73; $custom-dark: #000000;
JSON
{
"hex": "#a2b831",
"rgb": {
"r": 162,
"g": 184,
"b": 49
},
"hsl": {
"h": 69.778,
"s": 57.94,
"l": 45.686
},
"oklch": {
"l": 0.74143,
"c": 0.15602,
"h": 118.6
},
"luminance": 0.42184
}Semantic roles & 50–950 ramp
primary
#A2B831
secondary
#897DC8
accent
#47E160
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B