#A1B727#A1B727
#A1B727 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 | #A1B727 |
|---|---|
| RGB | rgb(161, 183, 39) |
| HSL | hsl(69, 65%, 44%) |
| HSV | hsv(69, 79%, 72%) |
| CMYK | cmyk(12%, 0%, 78.7%, 28.2%) |
| CIE-LAB | lab(70.59, -25.39, 64.62) |
| CIE-LCH | lch(70.59, 69.43, 111.45°) |
| OKLab | oklab(73.78% -0.0764 0.1413) |
| OKLCH | oklch(73.78% 0.161 118.4) |
| XYZ | xyz(31.9984, 41.5908, 8.2612) |
| Luminance | 0.4159 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 1.41
Booger Green
#96B403
ΔE00 2.19
Bright Olive
#9CBB04
ΔE00 2.20
Pea
#A4BF20
ΔE00 2.27
Sickly Green
#94B21C
ΔE00 2.43
Gross Green
#A0BF16
ΔE00 2.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A1B727 #3D27B7
analogous
#B78527 #A1B727 #59B727
triadic
#A1B727 #27A1B7 #B727A1
tetradic
#A1B727 #27B785 #3D27B7 #B72759
square
#A1B727 #27B785 #3D27B7 #B72759
split-complementary
#A1B727 #2759B7 #8527B7
monochromatic
#485211 #75851C #A1B727 #C1D744 #D1E276
Accessibility & contrast
On white
2.25
#A1B727 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.32
#A1B727 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A1B727
9.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A1B727 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A1B727 | 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)
#C1AD35
Tritanopia (blue-blind)
#ABAD9D
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #a1b727; /* rgb */ color: rgb(161, 183, 39); /* oklch */ color: oklch(73.8% 0.161 118.4);
Tailwind
colors: {
custom: {
50: '#c1cc6e',
500: '#a1b727',
950: '#000000',
},
}SCSS
$custom: #a1b727; $custom-light: #c1cc6e; $custom-dark: #000000;
JSON
{
"hex": "#a1b727",
"rgb": {
"r": 161,
"g": 183,
"b": 39
},
"hsl": {
"h": 69.167,
"s": 64.865,
"l": 43.529
},
"oklch": {
"l": 0.73778,
"c": 0.16062,
"h": 118.4
},
"luminance": 0.41591
}Semantic roles & 50–950 ramp
primary
#A1B727
secondary
#7E70C9
accent
#40E85A
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B