#A1B627#A1B627
#A1B627 is a light, vivid yellow. Relative luminance 0.412; OKLCH L 73.5% C 0.160 H 118.1°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).
Color values
| HEX | #A1B627 |
|---|---|
| RGB | rgb(161, 182, 39) |
| HSL | hsl(69, 65%, 43%) |
| HSV | hsv(69, 79%, 71%) |
| CMYK | cmyk(11.5%, 0%, 78.6%, 28.6%) |
| CIE-LAB | lab(70.30, -24.91, 64.36) |
| CIE-LCH | lch(70.30, 69.01, 111.16°) |
| OKLab | oklab(73.55% -0.0751 0.1407) |
| OKLCH | oklch(73.55% 0.16 118.1) |
| XYZ | xyz(31.7929, 41.1798, 8.1927) |
| Luminance | 0.4118 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 1.64
Booger Green
#96B403
ΔE00 2.22
Sickly Green
#94B21C
ΔE00 2.41
Bright Olive
#9CBB04
ΔE00 2.43
Puke Green
#9AAE07
ΔE00 2.55
Pea
#A4BF20
ΔE00 2.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A1B627 #3C27B6
analogous
#B68327 #A1B627 #59B627
triadic
#A1B627 #27A1B6 #B627A1
tetradic
#A1B627 #27B683 #3C27B6 #B62759
square
#A1B627 #27B683 #3C27B6 #B62759
split-complementary
#A1B627 #2759B6 #8327B6
monochromatic
#485111 #74841C #A1B627 #C1D743 #D2E276
Accessibility & contrast
On white
2.27
#A1B627 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.24
#A1B627 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A1B627
9.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A1B627 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A1B627 | 1.00 | 2.27 | 9.24 | 9.24 |
| #FFFFFF | 2.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AC00
Deuteranopia (green-blind)
#C0AD35
Tritanopia (blue-blind)
#ABAC9C
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #a1b627; /* rgb */ color: rgb(161, 182, 39); /* oklch */ color: oklch(73.5% 0.160 118.1);
Tailwind
colors: {
custom: {
50: '#c1cb6e',
500: '#a1b627',
950: '#000000',
},
}SCSS
$custom: #a1b627; $custom-light: #c1cb6e; $custom-dark: #000000;
JSON
{
"hex": "#a1b627",
"rgb": {
"r": 161,
"g": 182,
"b": 39
},
"hsl": {
"h": 68.811,
"s": 64.706,
"l": 43.333
},
"oklch": {
"l": 0.73548,
"c": 0.1595,
"h": 118.1
},
"luminance": 0.41179
}Semantic roles & 50–950 ramp
primary
#A1B627
secondary
#7D70C9
accent
#40E859
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B