#A2B830#A2B830
#A2B830 is a light, vivid yellow. Relative luminance 0.422; OKLCH L 74.1% C 0.157 H 118.5°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).
Color values
| HEX | #A2B830 |
|---|---|
| RGB | rgb(162, 184, 48) |
| HSL | hsl(70, 59%, 45%) |
| HSV | hsv(70, 74%, 72%) |
| CMYK | cmyk(12%, 0%, 73.9%, 27.8%) |
| CIE-LAB | lab(70.99, -25.06, 62.16) |
| CIE-LCH | lch(70.99, 67.02, 111.96°) |
| OKLab | oklab(74.14% -0.0748 0.1376) |
| OKLCH | oklch(74.14% 0.157 118.5) |
| XYZ | xyz(32.5750, 42.1760, 9.2205) |
| Luminance | 0.4218 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 1.19
Booger
#9BB53C
ΔE00 2.27
Pea
#A4BF20
ΔE00 2.36
Bright Olive
#9CBB04
ΔE00 2.60
Sickly Green
#94B21C
ΔE00 2.68
Booger Green
#96B403
ΔE00 2.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2B830 #4630B8
analogous
#B88A30 #A2B830 #5EB830
triadic
#A2B830 #30A2B8 #B830A2
tetradic
#A2B830 #30B88A #4630B8 #B8305E
square
#A2B830 #30B88A #4630B8 #B8305E
split-complementary
#A2B830 #305EB8 #8A30B8
monochromatic
#4D5717 #778723 #A2B830 #BED253 #D0DF84
Accessibility & contrast
On white
2.23
#A2B830 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.44
#A2B830 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2B830
9.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2B830 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2B830 | 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)
#C4AE13
Deuteranopia (green-blind)
#C2AE3C
Tritanopia (blue-blind)
#ACAE9E
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #a2b830; /* rgb */ color: rgb(162, 184, 48); /* oklch */ color: oklch(74.1% 0.157 118.5);
Tailwind
colors: {
custom: {
50: '#c1cd72',
500: '#a2b830',
950: '#000000',
},
}SCSS
$custom: #a2b830; $custom-light: #c1cd72; $custom-dark: #000000;
JSON
{
"hex": "#a2b830",
"rgb": {
"r": 162,
"g": 184,
"b": 48
},
"hsl": {
"h": 69.706,
"s": 58.621,
"l": 45.49
},
"oklch": {
"l": 0.74137,
"c": 0.15661,
"h": 118.5
},
"luminance": 0.42176
}Semantic roles & 50–950 ramp
primary
#A2B830
secondary
#887CC8
accent
#46E25F
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B