#A2B226#A2B226
#A2B226 is a light, vivid yellow. Relative luminance 0.397; OKLCH L 72.7% C 0.155 H 116.3°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).
Color values
| HEX | #A2B226 |
|---|---|
| RGB | rgb(162, 178, 38) |
| HSL | hsl(67, 65%, 42%) |
| HSV | hsv(67, 79%, 70%) |
| CMYK | cmyk(9%, 0%, 78.7%, 30.2%) |
| CIE-LAB | lab(69.23, -22.56, 63.72) |
| CIE-LCH | lch(69.23, 67.59, 109.50°) |
| OKLab | oklab(72.7% -0.0687 0.1392) |
| OKLCH | oklch(72.7% 0.155 116.3) |
| XYZ | xyz(31.1714, 39.6626, 7.8469) |
| Luminance | 0.3966 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 1.91
Mustard Green
#A8B504
ΔE00 2.40
Barf Green
#94AC02
ΔE00 2.83
Booger Green
#96B403
ΔE00 2.89
Sick Green
#9DB92C
ΔE00 2.93
Sickly Green
#94B21C
ΔE00 2.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2B226 #3626B2
analogous
#B27C26 #A2B226 #5CB226
triadic
#A2B226 #26A2B2 #B226A2
tetradic
#A2B226 #26B27C #3626B2 #B2265C
square
#A2B226 #26B27C #3626B2 #B2265C
split-complementary
#A2B226 #265CB2 #7C26B2
monochromatic
#464D10 #74801B #A2B226 #C5D63F #D4E172
Accessibility & contrast
On white
2.35
#A2B226 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.93
#A2B226 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2B226
8.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2B226 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2B226 | 1.00 | 2.35 | 8.93 | 8.93 |
| #FFFFFF | 2.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFA800
Deuteranopia (green-blind)
#BDAA33
Tritanopia (blue-blind)
#ADA798
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #a2b226; /* rgb */ color: rgb(162, 178, 38); /* oklch */ color: oklch(72.7% 0.155 116.3);
Tailwind
colors: {
custom: {
50: '#c1c86d',
500: '#a2b226',
950: '#000000',
},
}SCSS
$custom: #a2b226; $custom-light: #c1c86d; $custom-dark: #000000;
JSON
{
"hex": "#a2b226",
"rgb": {
"r": 162,
"g": 178,
"b": 38
},
"hsl": {
"h": 66.857,
"s": 64.815,
"l": 42.353
},
"oklch": {
"l": 0.72702,
"c": 0.1552,
"h": 116.3
},
"luminance": 0.39662
}Semantic roles & 50–950 ramp
primary
#A2B226
secondary
#776CC8
accent
#40E853
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A