#A1B229#A1B229
#A1B229 is a light, vivid yellow. Relative luminance 0.396; OKLCH L 72.6% C 0.154 H 116.7°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).
Color values
| HEX | #A1B229 |
|---|---|
| RGB | rgb(161, 178, 41) |
| HSL | hsl(67, 63%, 43%) |
| HSV | hsv(67, 77%, 70%) |
| CMYK | cmyk(9.6%, 0%, 77%, 30.2%) |
| CIE-LAB | lab(69.17, -22.86, 62.72) |
| CIE-LCH | lch(69.17, 66.75, 110.03°) |
| OKLab | oklab(72.64% -0.0693 0.1376) |
| OKLCH | oklch(72.64% 0.154 116.7) |
| XYZ | xyz(31.0194, 39.5784, 8.1027) |
| Luminance | 0.3958 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 1.99
Sick Green
#9DB92C
ΔE00 2.69
Sickly Green
#94B21C
ΔE00 2.71
Mustard Green
#A8B504
ΔE00 2.77
Barf Green
#94AC02
ΔE00 2.78
Booger Green
#96B403
ΔE00 2.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A1B229 #3A29B2
analogous
#B27E29 #A1B229 #5DB229
triadic
#A1B229 #29A1B2 #B229A1
tetradic
#A1B229 #29B27E #3A29B2 #B2295D
square
#A1B229 #29B27E #3A29B2 #B2295D
split-complementary
#A1B229 #295DB2 #7E29B2
monochromatic
#474F12 #74801E #A1B229 #C2D444 #D2DF76
Accessibility & contrast
On white
2.36
#A1B229 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.92
#A1B229 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A1B229
8.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A1B229 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A1B229 | 1.00 | 2.36 | 8.92 | 8.92 |
| #FFFFFF | 2.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFA802
Deuteranopia (green-blind)
#BDAA36
Tritanopia (blue-blind)
#ABA898
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #a1b229; /* rgb */ color: rgb(161, 178, 41); /* oklch */ color: oklch(72.6% 0.154 116.7);
Tailwind
colors: {
custom: {
50: '#c0c86e',
500: '#a1b229',
950: '#000000',
},
}SCSS
$custom: #a1b229; $custom-light: #c0c86e; $custom-dark: #000000;
JSON
{
"hex": "#a1b229",
"rgb": {
"r": 161,
"g": 178,
"b": 41
},
"hsl": {
"h": 67.445,
"s": 62.557,
"l": 42.941
},
"oklch": {
"l": 0.72639,
"c": 0.15404,
"h": 116.7
},
"luminance": 0.39578
}Semantic roles & 50–950 ramp
primary
#A1B229
secondary
#7B70C7
accent
#42E656
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B