#A1AA1F#A1AA1F
#A1AA1F is a light, vivid yellow. Relative luminance 0.364; OKLCH L 70.8% C 0.150 H 113.6°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).
Color values
| HEX | #A1AA1F |
|---|---|
| RGB | rgb(161, 170, 31) |
| HSL | hsl(64, 69%, 39%) |
| HSV | hsv(64, 82%, 67%) |
| CMYK | cmyk(5.3%, 0%, 81.8%, 33.3%) |
| CIE-LAB | lab(66.84, -19.24, 63.55) |
| CIE-LCH | lch(66.84, 66.40, 106.85°) |
| OKLab | oklab(70.76% -0.06 0.1376) |
| OKLCH | oklch(70.76% 0.15 113.6) |
| XYZ | xyz(29.3210, 36.4261, 6.7824) |
| Luminance | 0.3643 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.30
Puke Green
#9AAE07
ΔE00 2.54
Pea Soup Green
#94A617
ΔE00 2.70
Puke
#A5A502
ΔE00 2.88
Barf Green
#94AC02
ΔE00 3.25
Mustard Green
#A8B504
ΔE00 3.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A1AA1F #281FAA
analogous
#AA6E1F #A1AA1F #5CAA1F
triadic
#A1AA1F #1FA1AA #AA1FA1
tetradic
#A1AA1F #1FAA6E #281FAA #AA1F5C
square
#A1AA1F #1FAA6E #281FAA #AA1F5C
split-complementary
#A1AA1F #1F5CAA #6E1FAA
monochromatic
#3F420C #707616 #A1AA1F #CED92D #DAE261
Accessibility & contrast
On white
2.53
#A1AA1F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.29
#A1AA1F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A1AA1F
8.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A1AA1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A1AA1F | 1.00 | 2.53 | 8.29 | 8.29 |
| #FFFFFF | 2.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A100
Deuteranopia (green-blind)
#B7A42D
Tritanopia (blue-blind)
#AC9F91
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #a1aa1f; /* rgb */ color: rgb(161, 170, 31); /* oklch */ color: oklch(70.8% 0.150 113.6);
Tailwind
colors: {
custom: {
50: '#c1c369',
500: '#a1aa1f',
950: '#000000',
},
}SCSS
$custom: #a1aa1f; $custom-light: #c1c369; $custom-dark: #000000;
JSON
{
"hex": "#a1aa1f",
"rgb": {
"r": 161,
"g": 170,
"b": 31
},
"hsl": {
"h": 63.885,
"s": 69.154,
"l": 39.412
},
"oklch": {
"l": 0.70759,
"c": 0.15013,
"h": 113.6
},
"luminance": 0.36425
}Semantic roles & 50–950 ramp
primary
#A1AA1F
secondary
#655EC7
accent
#3CEC47
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A