#A2B428#A2B428
#A2B428 is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.2% C 0.156 H 117.0°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).
Color values
| HEX | #A2B428 |
|---|---|
| RGB | rgb(162, 180, 40) |
| HSL | hsl(68, 64%, 43%) |
| HSV | hsv(68, 78%, 71%) |
| CMYK | cmyk(10%, 0%, 77.8%, 29.4%) |
| CIE-LAB | lab(69.81, -23.46, 63.64) |
| CIE-LCH | lch(69.81, 67.83, 110.24°) |
| OKLab | oklab(73.17% -0.0711 0.1393) |
| OKLCH | oklch(73.17% 0.156 117) |
| XYZ | xyz(31.6054, 40.4775, 8.1551) |
| Luminance | 0.4048 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 2.22
Sick Green
#9DB92C
ΔE00 2.32
Mustard Green
#A8B504
ΔE00 2.55
Booger Green
#96B403
ΔE00 2.61
Sickly Green
#94B21C
ΔE00 2.70
Booger
#9BB53C
ΔE00 3.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2B428 #3A28B4
analogous
#B48028 #A2B428 #5CB428
triadic
#A2B428 #28A2B4 #B428A2
tetradic
#A2B428 #28B480 #3A28B4 #B4285C
square
#A2B428 #28B480 #3A28B4 #B4285C
split-complementary
#A2B428 #285CB4 #8028B4
monochromatic
#485012 #75821D #A2B428 #C3D544 #D3E176
Accessibility & contrast
On white
2.31
#A2B428 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.10
#A2B428 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2B428
9.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2B428 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2B428 | 1.00 | 2.31 | 9.10 | 9.10 |
| #FFFFFF | 2.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AA00
Deuteranopia (green-blind)
#BFAB35
Tritanopia (blue-blind)
#ACAA9A
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #a2b428; /* rgb */ color: rgb(162, 180, 40); /* oklch */ color: oklch(73.2% 0.156 117.0);
Tailwind
colors: {
custom: {
50: '#c1ca6e',
500: '#a2b428',
950: '#000000',
},
}SCSS
$custom: #a2b428; $custom-light: #c1ca6e; $custom-dark: #000000;
JSON
{
"hex": "#a2b428",
"rgb": {
"r": 162,
"g": 180,
"b": 40
},
"hsl": {
"h": 67.714,
"s": 63.636,
"l": 43.137
},
"oklch": {
"l": 0.73171,
"c": 0.15642,
"h": 117
},
"luminance": 0.40477
}Semantic roles & 50–950 ramp
primary
#A2B428
secondary
#7B70C8
accent
#41E756
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B