#A1A327#A1A327
#A1A327 is a light, vivid yellow. Relative luminance 0.339; OKLCH L 69.2% C 0.139 H 110.5°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).
Color values
| HEX | #A1A327 |
|---|---|
| RGB | rgb(161, 163, 39) |
| HSL | hsl(61, 61%, 40%) |
| HSV | hsv(61, 76%, 64%) |
| CMYK | cmyk(1.2%, 0%, 76.1%, 36.1%) |
| CIE-LAB | lab(64.90, -15.36, 59.43) |
| CIE-LCH | lch(64.90, 61.38, 104.50°) |
| OKLab | oklab(69.21% -0.0487 0.1302) |
| OKLCH | oklch(69.21% 0.139 110.5) |
| XYZ | xyz(28.1624, 33.9187, 6.9825) |
| Luminance | 0.3392 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.40
Puke
#A5A502
ΔE00 2.44
Pea Soup Green
#94A617
ΔE00 3.79
Pea Soup
#929901
ΔE00 3.84
Baby Poop Green
#8F9805
ΔE00 4.34
Puke Green
#9AAE07
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A1A327 #2927A3
analogous
#A36727 #A1A327 #63A327
triadic
#A1A327 #27A1A3 #A327A1
tetradic
#A1A327 #27A367 #2927A3 #A32763
square
#A1A327 #27A367 #2927A3 #A32763
split-complementary
#A1A327 #2763A3 #6727A3
monochromatic
#3F400F #70721B #A1A327 #CDCF38 #D9DB69
Accessibility & contrast
On white
2.70
#A1A327 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.78
#A1A327 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A1A327
7.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A1A327 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A1A327 | 1.00 | 2.70 | 7.78 | 7.78 |
| #FFFFFF | 2.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09C08
Deuteranopia (green-blind)
#B19F31
Tritanopia (blue-blind)
#AD988C
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #a1a327; /* rgb */ color: rgb(161, 163, 39); /* oklch */ color: oklch(69.2% 0.139 110.5);
Tailwind
colors: {
custom: {
50: '#c0be6c',
500: '#a1a327',
950: '#000000',
},
}SCSS
$custom: #a1a327; $custom-light: #c0be6c; $custom-dark: #000000;
JSON
{
"hex": "#a1a327",
"rgb": {
"r": 161,
"g": 163,
"b": 39
},
"hsl": {
"h": 60.968,
"s": 61.386,
"l": 39.608
},
"oklch": {
"l": 0.69213,
"c": 0.13903,
"h": 110.5
},
"luminance": 0.33918
}Semantic roles & 50–950 ramp
primary
#A1A327
secondary
#6664C1
accent
#43E446
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A