#A1B239#A1B239
#A1B239 is a light, vivid yellow. Relative luminance 0.397; OKLCH L 72.7% C 0.144 H 117.0°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).
Color values
| HEX | #A1B239 |
|---|---|
| RGB | rgb(161, 178, 57) |
| HSL | hsl(68, 51%, 46%) |
| HSV | hsv(68, 68%, 70%) |
| CMYK | cmyk(9.6%, 0%, 68%, 30.2%) |
| CIE-LAB | lab(69.27, -22.03, 57.12) |
| CIE-LCH | lch(69.27, 61.23, 111.09°) |
| OKLab | oklab(72.75% -0.0655 0.1285) |
| OKLCH | oklch(72.75% 0.144 117) |
| XYZ | xyz(31.3575, 39.7136, 9.8837) |
| Luminance | 0.3971 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 2.08
Sick Green
#9DB92C
ΔE00 2.84
Sickly Green
#94B21C
ΔE00 3.12
Puke Green
#9AAE07
ΔE00 3.27
Icky Green
#8FAE22
ΔE00 3.53
Avocado (survey)
#90B134
ΔE00 3.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A1B239 #4A39B2
analogous
#B28639 #A1B239 #64B239
triadic
#A1B239 #39A1B2 #B239A1
tetradic
#A1B239 #39B286 #4A39B2 #B23964
square
#A1B239 #39B286 #4A39B2 #B23964
split-complementary
#A1B239 #3964B2 #8639B2
monochromatic
#4D551B #77842A #A1B239 #BCCB5D #CFDA8B
Accessibility & contrast
On white
2.35
#A1B239 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.94
#A1B239 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A1B239
8.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A1B239 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A1B239 | 1.00 | 2.35 | 8.94 | 8.94 |
| #FFFFFF | 2.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEA927
Deuteranopia (green-blind)
#BCAA42
Tritanopia (blue-blind)
#ABA89A
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #a1b239; /* rgb */ color: rgb(161, 178, 57); /* oklch */ color: oklch(72.7% 0.144 117.0);
Tailwind
colors: {
custom: {
50: '#c0c976',
500: '#a1b239',
950: '#000000',
},
}SCSS
$custom: #a1b239; $custom-light: #c0c976; $custom-dark: #000000;
JSON
{
"hex": "#a1b239",
"rgb": {
"r": 161,
"g": 178,
"b": 57
},
"hsl": {
"h": 68.43,
"s": 51.489,
"l": 46.078
},
"oklch": {
"l": 0.72748,
"c": 0.14424,
"h": 117
},
"luminance": 0.39713
}Semantic roles & 50–950 ramp
primary
#A1B239
secondary
#8C82C4
accent
#4DDB61
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B