#A2B427#A2B427
#A2B427 is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.2% C 0.157 H 117.0°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).
Color values
| HEX | #A2B427 |
|---|---|
| RGB | rgb(162, 180, 39) |
| HSL | hsl(68, 64%, 43%) |
| HSV | hsv(68, 78%, 71%) |
| CMYK | cmyk(10%, 0%, 78.3%, 29.4%) |
| CIE-LAB | lab(69.80, -23.50, 63.94) |
| CIE-LCH | lch(69.80, 68.12, 110.18°) |
| OKLab | oklab(73.17% -0.0713 0.1398) |
| OKLCH | oklch(73.17% 0.157 117) |
| XYZ | xyz(31.5886, 40.4708, 8.0666) |
| Luminance | 0.4047 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 2.18
Sick Green
#9DB92C
ΔE00 2.34
Mustard Green
#A8B504
ΔE00 2.48
Booger Green
#96B403
ΔE00 2.58
Sickly Green
#94B21C
ΔE00 2.71
Barf Green
#94AC02
ΔE00 3.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2B427 #3927B4
analogous
#B48027 #A2B427 #5BB427
triadic
#A2B427 #27A2B4 #B427A2
tetradic
#A2B427 #27B480 #3927B4 #B4275B
square
#A2B427 #27B480 #3927B4 #B4275B
split-complementary
#A2B427 #275BB4 #8027B4
monochromatic
#474F11 #75821C #A2B427 #C3D642 #D3E174
Accessibility & contrast
On white
2.31
#A2B427 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.09
#A2B427 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2B427
9.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2B427 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2B427 | 1.00 | 2.31 | 9.09 | 9.09 |
| #FFFFFF | 2.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.09 | 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: #a2b427; /* rgb */ color: rgb(162, 180, 39); /* oklch */ color: oklch(73.2% 0.157 117.0);
Tailwind
colors: {
custom: {
50: '#c1ca6e',
500: '#a2b427',
950: '#000000',
},
}SCSS
$custom: #a2b427; $custom-light: #c1ca6e; $custom-dark: #000000;
JSON
{
"hex": "#a2b427",
"rgb": {
"r": 162,
"g": 180,
"b": 39
},
"hsl": {
"h": 67.66,
"s": 64.384,
"l": 42.941
},
"oklch": {
"l": 0.73166,
"c": 0.15691,
"h": 117
},
"luminance": 0.4047
}Semantic roles & 50–950 ramp
primary
#A2B427
secondary
#7A6FC8
accent
#40E756
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B