#A2B126#A2B126
#A2B126 is a light, vivid yellow. Relative luminance 0.393; OKLCH L 72.5% C 0.154 H 115.9°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).
Color values
| HEX | #A2B126 |
|---|---|
| RGB | rgb(162, 177, 38) |
| HSL | hsl(66, 65%, 42%) |
| HSV | hsv(66, 79%, 69%) |
| CMYK | cmyk(8.5%, 0%, 78.5%, 30.6%) |
| CIE-LAB | lab(68.94, -22.06, 63.46) |
| CIE-LCH | lch(68.94, 67.19, 109.17°) |
| OKLab | oklab(72.47% -0.0674 0.1386) |
| OKLCH | oklch(72.47% 0.154 115.9) |
| XYZ | xyz(30.9731, 39.2661, 7.7808) |
| Luminance | 0.3927 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 1.86
Mustard Green
#A8B504
ΔE00 2.46
Barf Green
#94AC02
ΔE00 2.80
Booger Green
#96B403
ΔE00 3.10
Sickly Green
#94B21C
ΔE00 3.12
Sick Green
#9DB92C
ΔE00 3.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2B126 #3526B1
analogous
#B17B26 #A2B126 #5CB126
triadic
#A2B126 #26A2B1 #B126A2
tetradic
#A2B126 #26B17B #3526B1 #B1265C
square
#A2B126 #26B17B #3526B1 #B1265C
split-complementary
#A2B126 #265CB1 #7B26B1
monochromatic
#464C10 #747F1B #A2B126 #C5D63F #D4E071
Accessibility & contrast
On white
2.37
#A2B126 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.85
#A2B126 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2B126
8.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2B126 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2B126 | 1.00 | 2.37 | 8.85 | 8.85 |
| #FFFFFF | 2.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEA700
Deuteranopia (green-blind)
#BDA933
Tritanopia (blue-blind)
#ADA697
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #a2b126; /* rgb */ color: rgb(162, 177, 38); /* oklch */ color: oklch(72.5% 0.154 115.9);
Tailwind
colors: {
custom: {
50: '#c1c86d',
500: '#a2b126',
950: '#000000',
},
}SCSS
$custom: #a2b126; $custom-light: #c1c86d; $custom-dark: #000000;
JSON
{
"hex": "#a2b126",
"rgb": {
"r": 162,
"g": 177,
"b": 38
},
"hsl": {
"h": 66.475,
"s": 64.651,
"l": 42.157
},
"oklch": {
"l": 0.72473,
"c": 0.1541,
"h": 115.9
},
"luminance": 0.39266
}Semantic roles & 50–950 ramp
primary
#A2B126
secondary
#756BC7
accent
#40E852
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A