#A1B123#A1B123
#A1B123 is a light, vivid yellow. Relative luminance 0.391; OKLCH L 72.4% C 0.156 H 116.3°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).
Color values
| HEX | #A1B123 |
|---|---|
| RGB | rgb(161, 177, 35) |
| HSL | hsl(67, 67%, 42%) |
| HSV | hsv(67, 80%, 69%) |
| CMYK | cmyk(9%, 0%, 80.2%, 30.6%) |
| CIE-LAB | lab(68.85, -22.60, 64.22) |
| CIE-LCH | lch(68.85, 68.08, 109.39°) |
| OKLab | oklab(72.38% -0.069 0.1397) |
| OKLCH | oklch(72.38% 0.156 116.3) |
| XYZ | xyz(30.7243, 39.1432, 7.5266) |
| Luminance | 0.3914 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 1.63
Mustard Green
#A8B504
ΔE00 2.41
Barf Green
#94AC02
ΔE00 2.58
Booger Green
#96B403
ΔE00 2.85
Sickly Green
#94B21C
ΔE00 2.93
Sick Green
#9DB92C
ΔE00 3.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A1B123 #3323B1
analogous
#B17A23 #A1B123 #5AB123
triadic
#A1B123 #23A1B1 #B123A1
tetradic
#A1B123 #23B17A #3323B1 #B1235A
square
#A1B123 #23B17A #3323B1 #B1235A
split-complementary
#A1B123 #235AB1 #7A23B1
monochromatic
#444B0F #737E19 #A1B123 #C6D839 #D5E26C
Accessibility & contrast
On white
2.38
#A1B123 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.83
#A1B123 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A1B123
8.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A1B123 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A1B123 | 1.00 | 2.38 | 8.83 | 8.83 |
| #FFFFFF | 2.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEA700
Deuteranopia (green-blind)
#BCA931
Tritanopia (blue-blind)
#ACA697
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #a1b123; /* rgb */ color: rgb(161, 177, 35); /* oklch */ color: oklch(72.4% 0.156 116.3);
Tailwind
colors: {
custom: {
50: '#c1c86c',
500: '#a1b123',
950: '#000000',
},
}SCSS
$custom: #a1b123; $custom-light: #c1c86c; $custom-dark: #000000;
JSON
{
"hex": "#a1b123",
"rgb": {
"r": 161,
"g": 177,
"b": 35
},
"hsl": {
"h": 66.761,
"s": 66.981,
"l": 41.569
},
"oklch": {
"l": 0.72379,
"c": 0.15586,
"h": 116.3
},
"luminance": 0.39143
}Semantic roles & 50–950 ramp
primary
#A1B123
secondary
#7268C8
accent
#3EEA51
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A