#A1B927#A1B927
#A1B927 is a light, vivid yellow. Relative luminance 0.424; OKLCH L 74.2% C 0.163 H 119.0°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).
Color values
| HEX | #A1B927 |
|---|---|
| RGB | rgb(161, 185, 39) |
| HSL | hsl(70, 65%, 44%) |
| HSV | hsv(70, 79%, 73%) |
| CMYK | cmyk(13%, 0%, 78.9%, 27.5%) |
| CIE-LAB | lab(71.16, -26.36, 65.14) |
| CIE-LCH | lch(71.16, 70.27, 112.04°) |
| OKLab | oklab(74.24% -0.0791 0.1424) |
| OKLCH | oklch(74.24% 0.163 119) |
| XYZ | xyz(32.4138, 42.4217, 8.3997) |
| Luminance | 0.4242 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 1.09
Pea
#A4BF20
ΔE00 1.73
Bright Olive
#9CBB04
ΔE00 1.81
Gross Green
#A0BF16
ΔE00 2.05
Booger Green
#96B403
ΔE00 2.25
Sickly Green
#94B21C
ΔE00 2.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A1B927 #3F27B9
analogous
#B98827 #A1B927 #58B927
triadic
#A1B927 #27A1B9 #B927A1
tetradic
#A1B927 #27B988 #3F27B9 #B92758
square
#A1B927 #27B988 #3F27B9 #B92758
split-complementary
#A1B927 #2758B9 #8827B9
monochromatic
#495412 #75861C #A1B927 #C0D845 #D1E378
Accessibility & contrast
On white
2.21
#A1B927 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.48
#A1B927 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A1B927
9.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A1B927 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A1B927 | 1.00 | 2.21 | 9.48 | 9.48 |
| #FFFFFF | 2.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5AE00
Deuteranopia (green-blind)
#C3AF36
Tritanopia (blue-blind)
#ABAF9E
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #a1b927; /* rgb */ color: rgb(161, 185, 39); /* oklch */ color: oklch(74.2% 0.163 119.0);
Tailwind
colors: {
custom: {
50: '#c1ce6e',
500: '#a1b927',
950: '#000000',
},
}SCSS
$custom: #a1b927; $custom-light: #c1ce6e; $custom-dark: #000000;
JSON
{
"hex": "#a1b927",
"rgb": {
"r": 161,
"g": 185,
"b": 39
},
"hsl": {
"h": 69.863,
"s": 65.179,
"l": 43.922
},
"oklch": {
"l": 0.7424,
"c": 0.16286,
"h": 119
},
"luminance": 0.42421
}Semantic roles & 50–950 ramp
primary
#A1B927
secondary
#8072CA
accent
#40E85B
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B