#A2B728#A2B728
#A2B728 is a light, vivid yellow. Relative luminance 0.417; OKLCH L 73.9% C 0.160 H 118.0°. Best body text is #000000 at 9.34:1 contrast (WCAG AA passes).
Color values
| HEX | #A2B728 |
|---|---|
| RGB | rgb(162, 183, 40) |
| HSL | hsl(69, 64%, 44%) |
| HSV | hsv(69, 78%, 72%) |
| CMYK | cmyk(11.5%, 0%, 78.1%, 28.2%) |
| CIE-LAB | lab(70.66, -24.93, 64.42) |
| CIE-LCH | lch(70.66, 69.08, 111.16°) |
| OKLab | oklab(73.86% -0.0751 0.141) |
| OKLCH | oklch(73.86% 0.16 118) |
| XYZ | xyz(32.2176, 41.7019, 8.3591) |
| Luminance | 0.4170 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 1.58
Pea
#A4BF20
ΔE00 2.32
Bright Olive
#9CBB04
ΔE00 2.34
Booger Green
#96B403
ΔE00 2.36
Sickly Green
#94B21C
ΔE00 2.61
Gross Green
#A0BF16
ΔE00 2.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2B728 #3D28B7
analogous
#B78428 #A2B728 #5AB728
triadic
#A2B728 #28A2B7 #B728A2
tetradic
#A2B728 #28B784 #3D28B7 #B7285A
square
#A2B728 #28B784 #3D28B7 #B7285A
split-complementary
#A2B728 #285AB7 #8428B7
monochromatic
#495312 #76851D #A2B728 #C1D646 #D2E178
Accessibility & contrast
On white
2.25
#A2B728 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.34
#A2B728 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2B728
9.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2B728 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2B728 | 1.00 | 2.25 | 9.34 | 9.34 |
| #FFFFFF | 2.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4AD00
Deuteranopia (green-blind)
#C1AE36
Tritanopia (blue-blind)
#ACAD9D
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #a2b728; /* rgb */ color: rgb(162, 183, 40); /* oklch */ color: oklch(73.9% 0.160 118.0);
Tailwind
colors: {
custom: {
50: '#c1cc6f',
500: '#a2b728',
950: '#000000',
},
}SCSS
$custom: #a2b728; $custom-light: #c1cc6f; $custom-dark: #000000;
JSON
{
"hex": "#a2b728",
"rgb": {
"r": 162,
"g": 183,
"b": 40
},
"hsl": {
"h": 68.811,
"s": 64.126,
"l": 43.725
},
"oklch": {
"l": 0.7386,
"c": 0.15975,
"h": 118
},
"luminance": 0.41702
}Semantic roles & 50–950 ramp
primary
#A2B728
secondary
#7E72C9
accent
#41E759
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B