#A1B728#A1B728
#A1B728 is a light, vivid yellow. Relative luminance 0.416; OKLCH L 73.8% C 0.160 H 118.4°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).
Color values
| HEX | #A1B728 |
|---|---|
| RGB | rgb(161, 183, 40) |
| HSL | hsl(69, 64%, 44%) |
| HSV | hsv(69, 78%, 72%) |
| CMYK | cmyk(12%, 0%, 78.1%, 28.2%) |
| CIE-LAB | lab(70.59, -25.35, 64.33) |
| CIE-LCH | lch(70.59, 69.14, 111.51°) |
| OKLab | oklab(73.78% -0.0762 0.1408) |
| OKLCH | oklch(73.78% 0.16 118.4) |
| XYZ | xyz(32.0152, 41.5975, 8.3496) |
| Luminance | 0.4160 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 1.38
Booger Green
#96B403
ΔE00 2.22
Bright Olive
#9CBB04
ΔE00 2.25
Pea
#A4BF20
ΔE00 2.30
Sickly Green
#94B21C
ΔE00 2.43
Gross Green
#A0BF16
ΔE00 2.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A1B728 #3E28B7
analogous
#B78528 #A1B728 #59B728
triadic
#A1B728 #28A1B7 #B728A1
tetradic
#A1B728 #28B785 #3E28B7 #B72859
square
#A1B728 #28B785 #3E28B7 #B72859
split-complementary
#A1B728 #2859B7 #8528B7
monochromatic
#495312 #75851D #A1B728 #C0D646 #D1E178
Accessibility & contrast
On white
2.25
#A1B728 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.32
#A1B728 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A1B728
9.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A1B728 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A1B728 | 1.00 | 2.25 | 9.32 | 9.32 |
| #FFFFFF | 2.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3AD00
Deuteranopia (green-blind)
#C1AD36
Tritanopia (blue-blind)
#ABAD9D
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #a1b728; /* rgb */ color: rgb(161, 183, 40); /* oklch */ color: oklch(73.8% 0.160 118.4);
Tailwind
colors: {
custom: {
50: '#c1cc6f',
500: '#a1b728',
950: '#000000',
},
}SCSS
$custom: #a1b728; $custom-light: #c1cc6f; $custom-dark: #000000;
JSON
{
"hex": "#a1b728",
"rgb": {
"r": 161,
"g": 183,
"b": 40
},
"hsl": {
"h": 69.231,
"s": 64.126,
"l": 43.725
},
"oklch": {
"l": 0.73784,
"c": 0.16013,
"h": 118.4
},
"luminance": 0.41597
}Semantic roles & 50–950 ramp
primary
#A1B728
secondary
#7F72C9
accent
#41E75A
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B