#A1B332#A1B332
#A1B332 is a light, vivid yellow. Relative luminance 0.400; OKLCH L 72.9% C 0.150 H 117.2°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).
Color values
| HEX | #A1B332 |
|---|---|
| RGB | rgb(161, 179, 50) |
| HSL | hsl(68, 56%, 45%) |
| HSV | hsv(68, 72%, 70%) |
| CMYK | cmyk(10.1%, 0%, 72.1%, 29.8%) |
| CIE-LAB | lab(69.50, -22.92, 60.00) |
| CIE-LCH | lch(69.50, 64.23, 110.91°) |
| OKLab | oklab(72.93% -0.0687 0.1334) |
| OKLCH | oklch(72.93% 0.15 117.2) |
| XYZ | xyz(31.3945, 40.0479, 9.0932) |
| Luminance | 0.4005 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 2.26
Sick Green
#9DB92C
ΔE00 2.35
Sickly Green
#94B21C
ΔE00 2.69
Puke Green
#9AAE07
ΔE00 2.70
Booger Green
#96B403
ΔE00 3.06
Barf Green
#94AC02
ΔE00 3.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A1B332 #4432B3
analogous
#B38432 #A1B332 #61B332
triadic
#A1B332 #32A1B3 #B332A1
tetradic
#A1B332 #32B384 #4432B3 #B33261
square
#A1B332 #32B384 #4432B3 #B33261
split-complementary
#A1B332 #3261B3 #8432B3
monochromatic
#4B5317 #768325 #A1B332 #BECF53 #D0DC83
Accessibility & contrast
On white
2.33
#A1B332 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.01
#A1B332 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A1B332
9.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A1B332 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A1B332 | 1.00 | 2.33 | 9.01 | 9.01 |
| #FFFFFF | 2.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFA91A
Deuteranopia (green-blind)
#BDAA3D
Tritanopia (blue-blind)
#ABA99A
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a1b332; /* rgb */ color: rgb(161, 179, 50); /* oklch */ color: oklch(72.9% 0.150 117.2);
Tailwind
colors: {
custom: {
50: '#c0c973',
500: '#a1b332',
950: '#000000',
},
}SCSS
$custom: #a1b332; $custom-light: #c0c973; $custom-dark: #000000;
JSON
{
"hex": "#a1b332",
"rgb": {
"r": 161,
"g": 179,
"b": 50
},
"hsl": {
"h": 68.372,
"s": 56.332,
"l": 44.902
},
"oklch": {
"l": 0.72925,
"c": 0.15004,
"h": 117.2
},
"luminance": 0.40048
}Semantic roles & 50–950 ramp
primary
#A1B332
secondary
#867BC6
accent
#48E05D
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B