#A2B928#A2B928
#A2B928 is a light, vivid yellow. Relative luminance 0.425; OKLCH L 74.3% C 0.162 H 118.7°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).
Color values
| HEX | #A2B928 |
|---|---|
| RGB | rgb(162, 185, 40) |
| HSL | hsl(70, 64%, 44%) |
| HSV | hsv(70, 78%, 73%) |
| CMYK | cmyk(12.4%, 0%, 78.4%, 27.5%) |
| CIE-LAB | lab(71.24, -25.91, 64.94) |
| CIE-LCH | lch(71.24, 69.92, 111.75°) |
| OKLab | oklab(74.32% -0.0778 0.1421) |
| OKLCH | oklch(74.32% 0.162 118.7) |
| XYZ | xyz(32.6330, 42.5328, 8.4976) |
| Luminance | 0.4253 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 1.25
Pea
#A4BF20
ΔE00 1.76
Bright Olive
#9CBB04
ΔE00 1.95
Gross Green
#A0BF16
ΔE00 2.15
Booger Green
#96B403
ΔE00 2.40
Sickly Green
#94B21C
ΔE00 2.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2B928 #3F28B9
analogous
#B98828 #A2B928 #5AB928
triadic
#A2B928 #28A2B9 #B928A2
tetradic
#A2B928 #28B988 #3F28B9 #B9285A
square
#A2B928 #28B988 #3F28B9 #B9285A
split-complementary
#A2B928 #285AB9 #8828B9
monochromatic
#4A5412 #76871D #A2B928 #C0D747 #D1E279
Accessibility & contrast
On white
2.21
#A2B928 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.51
#A2B928 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2B928
9.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2B928 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2B928 | 1.00 | 2.21 | 9.51 | 9.51 |
| #FFFFFF | 2.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5AE00
Deuteranopia (green-blind)
#C3AF36
Tritanopia (blue-blind)
#ACAF9E
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #a2b928; /* rgb */ color: rgb(162, 185, 40); /* oklch */ color: oklch(74.3% 0.162 118.7);
Tailwind
colors: {
custom: {
50: '#c1ce6f',
500: '#a2b928',
950: '#000000',
},
}SCSS
$custom: #a2b928; $custom-light: #c1ce6f; $custom-dark: #000000;
JSON
{
"hex": "#a2b928",
"rgb": {
"r": 162,
"g": 185,
"b": 40
},
"hsl": {
"h": 69.517,
"s": 64.444,
"l": 44.118
},
"oklch": {
"l": 0.7432,
"c": 0.16199,
"h": 118.7
},
"luminance": 0.42533
}Semantic roles & 50–950 ramp
primary
#A2B928
secondary
#8173CA
accent
#40E75B
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B