#A1B338#A1B338
#A1B338 is a light, vivid yellow. Relative luminance 0.401; OKLCH L 73.0% C 0.146 H 117.4°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).
Color values
| HEX | #A1B338 |
|---|---|
| RGB | rgb(161, 179, 56) |
| HSL | hsl(69, 52%, 46%) |
| HSV | hsv(69, 69%, 70%) |
| CMYK | cmyk(10.1%, 0%, 68.7%, 29.8%) |
| CIE-LAB | lab(69.54, -22.59, 57.80) |
| CIE-LCH | lch(69.54, 62.05, 111.34°) |
| OKLab | oklab(72.97% -0.0672 0.1298) |
| OKLCH | oklch(72.97% 0.146 117.4) |
| XYZ | xyz(31.5325, 40.1031, 9.8202) |
| Luminance | 0.4010 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 1.90
Sick Green
#9DB92C
ΔE00 2.51
Sickly Green
#94B21C
ΔE00 2.94
Puke Green
#9AAE07
ΔE00 3.23
Icky Green
#8FAE22
ΔE00 3.46
Avocado (survey)
#90B134
ΔE00 3.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A1B338 #4A38B3
analogous
#B38738 #A1B338 #64B338
triadic
#A1B338 #38A1B3 #B338A1
tetradic
#A1B338 #38B387 #4A38B3 #B33864
square
#A1B338 #38B387 #4A38B3 #B33864
split-complementary
#A1B338 #3864B3 #8738B3
monochromatic
#4D561B #778429 #A1B338 #BCCC5C #CFDB8B
Accessibility & contrast
On white
2.33
#A1B338 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.02
#A1B338 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A1B338
9.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A1B338 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A1B338 | 1.00 | 2.33 | 9.02 | 9.02 |
| #FFFFFF | 2.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFA925
Deuteranopia (green-blind)
#BDAB41
Tritanopia (blue-blind)
#ABA99A
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a1b338; /* rgb */ color: rgb(161, 179, 56); /* oklch */ color: oklch(73.0% 0.146 117.4);
Tailwind
colors: {
custom: {
50: '#c0c976',
500: '#a1b338',
950: '#000000',
},
}SCSS
$custom: #a1b338; $custom-light: #c0c976; $custom-dark: #000000;
JSON
{
"hex": "#a1b338",
"rgb": {
"r": 161,
"g": 179,
"b": 56
},
"hsl": {
"h": 68.78,
"s": 52.34,
"l": 46.078
},
"oklch": {
"l": 0.72969,
"c": 0.14611,
"h": 117.4
},
"luminance": 0.40103
}Semantic roles & 50–950 ramp
primary
#A1B338
secondary
#8C82C5
accent
#4CDC61
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B