#A1B231#A1B231
#A1B231 is a light, vivid yellow. Relative luminance 0.396; OKLCH L 72.7% C 0.150 H 116.9°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).
Color values
| HEX | #A1B231 |
|---|---|
| RGB | rgb(161, 178, 49) |
| HSL | hsl(68, 57%, 45%) |
| HSV | hsv(68, 72%, 70%) |
| CMYK | cmyk(9.6%, 0%, 72.5%, 30.2%) |
| CIE-LAB | lab(69.21, -22.48, 60.07) |
| CIE-LCH | lch(69.21, 64.14, 110.52°) |
| OKLab | oklab(72.69% -0.0675 0.1334) |
| OKLCH | oklch(72.69% 0.15 116.9) |
| XYZ | xyz(31.1735, 39.6400, 8.9142) |
| Luminance | 0.3964 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 2.51
Puke Green
#9AAE07
ΔE00 2.54
Sick Green
#9DB92C
ΔE00 2.65
Sickly Green
#94B21C
ΔE00 2.80
Barf Green
#94AC02
ΔE00 3.14
Booger Green
#96B403
ΔE00 3.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A1B231 #4231B2
analogous
#B28331 #A1B231 #61B231
triadic
#A1B231 #31A1B2 #B231A1
tetradic
#A1B231 #31B283 #4231B2 #B23161
square
#A1B231 #31B283 #4231B2 #B23161
split-complementary
#A1B231 #3161B2 #8331B2
monochromatic
#4A5217 #768224 #A1B231 #BFCF51 #D0DC81
Accessibility & contrast
On white
2.35
#A1B231 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.93
#A1B231 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A1B231
8.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A1B231 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A1B231 | 1.00 | 2.35 | 8.93 | 8.93 |
| #FFFFFF | 2.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEA819
Deuteranopia (green-blind)
#BDAA3C
Tritanopia (blue-blind)
#ABA899
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #a1b231; /* rgb */ color: rgb(161, 178, 49); /* oklch */ color: oklch(72.7% 0.150 116.9);
Tailwind
colors: {
custom: {
50: '#c0c872',
500: '#a1b231',
950: '#000000',
},
}SCSS
$custom: #a1b231; $custom-light: #c0c872; $custom-dark: #000000;
JSON
{
"hex": "#a1b231",
"rgb": {
"r": 161,
"g": 178,
"b": 49
},
"hsl": {
"h": 67.907,
"s": 56.828,
"l": 44.51
},
"oklch": {
"l": 0.72689,
"c": 0.14951,
"h": 116.9
},
"luminance": 0.3964
}Semantic roles & 50–950 ramp
primary
#A1B231
secondary
#8379C5
accent
#48E05C
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B