#A1B726#A1B726
#A1B726 is a light, vivid yellow. Relative luminance 0.416; OKLCH L 73.8% C 0.161 H 118.4°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).
Color values
| HEX | #A1B726 |
|---|---|
| RGB | rgb(161, 183, 38) |
| HSL | hsl(69, 66%, 43%) |
| HSV | hsv(69, 79%, 72%) |
| CMYK | cmyk(12%, 0%, 79.2%, 28.2%) |
| CIE-LAB | lab(70.58, -25.43, 64.91) |
| CIE-LCH | lch(70.58, 69.71, 111.40°) |
| OKLab | oklab(73.77% -0.0766 0.1417) |
| OKLCH | oklch(73.77% 0.161 118.4) |
| XYZ | xyz(31.9820, 41.5843, 8.1751) |
| Luminance | 0.4158 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 1.46
Booger Green
#96B403
ΔE00 2.16
Bright Olive
#9CBB04
ΔE00 2.16
Pea
#A4BF20
ΔE00 2.25
Sickly Green
#94B21C
ΔE00 2.44
Gross Green
#A0BF16
ΔE00 2.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A1B726 #3C26B7
analogous
#B78426 #A1B726 #59B726
triadic
#A1B726 #26A1B7 #B726A1
tetradic
#A1B726 #26B784 #3C26B7 #B72659
square
#A1B726 #26B784 #3C26B7 #B72659
split-complementary
#A1B726 #2659B7 #8426B7
monochromatic
#485211 #74841B #A1B726 #C1D842 #D2E275
Accessibility & contrast
On white
2.25
#A1B726 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.32
#A1B726 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A1B726
9.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A1B726 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A1B726 | 1.00 | 2.25 | 9.32 | 9.32 |
| #FFFFFF | 2.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3AC00
Deuteranopia (green-blind)
#C1AD34
Tritanopia (blue-blind)
#ABAD9D
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #a1b726; /* rgb */ color: rgb(161, 183, 38); /* oklch */ color: oklch(73.8% 0.161 118.4);
Tailwind
colors: {
custom: {
50: '#c1cc6e',
500: '#a1b726',
950: '#000000',
},
}SCSS
$custom: #a1b726; $custom-light: #c1cc6e; $custom-dark: #000000;
JSON
{
"hex": "#a1b726",
"rgb": {
"r": 161,
"g": 183,
"b": 38
},
"hsl": {
"h": 69.103,
"s": 65.611,
"l": 43.333
},
"oklch": {
"l": 0.73773,
"c": 0.16109,
"h": 118.4
},
"luminance": 0.41584
}Semantic roles & 50–950 ramp
primary
#A1B726
secondary
#7D6FCA
accent
#3FE959
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B