#A1A627#A1A627
#A1A627 is a light, vivid yellow. Relative luminance 0.350; OKLCH L 69.9% C 0.142 H 111.9°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).
Color values
| HEX | #A1A627 |
|---|---|
| RGB | rgb(161, 166, 39) |
| HSL | hsl(62, 62%, 40%) |
| HSV | hsv(62, 77%, 65%) |
| CMYK | cmyk(3%, 0%, 76.5%, 34.9%) |
| CIE-LAB | lab(65.75, -16.91, 60.21) |
| CIE-LCH | lch(65.75, 62.54, 105.69°) |
| OKLab | oklab(69.89% -0.053 0.1319) |
| OKLCH | oklch(69.89% 0.142 111.9) |
| XYZ | xyz(28.7013, 34.9967, 7.1622) |
| Luminance | 0.3500 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.58
Puke
#A5A502
ΔE00 2.56
Pea Soup Green
#94A617
ΔE00 3.11
Puke Green
#9AAE07
ΔE00 3.91
Pea Soup
#929901
ΔE00 4.36
Barf Green
#94AC02
ΔE00 4.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A1A627 #2C27A6
analogous
#A66B27 #A1A627 #62A627
triadic
#A1A627 #27A1A6 #A627A1
tetradic
#A1A627 #27A66B #2C27A6 #A62762
square
#A1A627 #27A66B #2C27A6 #A62762
split-complementary
#A1A627 #2762A6 #6B27A6
monochromatic
#414310 #71741B #A1A627 #CBD13A #D8DC6B
Accessibility & contrast
On white
2.63
#A1A627 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.00
#A1A627 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A1A627
8.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A1A627 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A1A627 | 1.00 | 2.63 | 8.00 | 8.00 |
| #FFFFFF | 2.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B39E05
Deuteranopia (green-blind)
#B4A132
Tritanopia (blue-blind)
#AC9B8E
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #a1a627; /* rgb */ color: rgb(161, 166, 39); /* oklch */ color: oklch(69.9% 0.142 111.9);
Tailwind
colors: {
custom: {
50: '#c0c06c',
500: '#a1a627',
950: '#000000',
},
}SCSS
$custom: #a1a627; $custom-light: #c0c06c; $custom-dark: #000000;
JSON
{
"hex": "#a1a627",
"rgb": {
"r": 161,
"g": 166,
"b": 39
},
"hsl": {
"h": 62.362,
"s": 61.951,
"l": 40.196
},
"oklch": {
"l": 0.69891,
"c": 0.14214,
"h": 111.9
},
"luminance": 0.34996
}Semantic roles & 50–950 ramp
primary
#A1A627
secondary
#6A66C3
accent
#43E549
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A