#A1AF41#A1AF41
#A1AF41 is a light, vivid yellow. Relative luminance 0.386; OKLCH L 72.1% C 0.135 H 116.0°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).
Color values
| HEX | #A1AF41 |
|---|---|
| RGB | rgb(161, 175, 65) |
| HSL | hsl(68, 46%, 47%) |
| HSV | hsv(68, 63%, 69%) |
| CMYK | cmyk(8%, 0%, 62.9%, 31.4%) |
| CIE-LAB | lab(68.47, -20.00, 53.00) |
| CIE-LCH | lch(68.47, 56.65, 110.68°) |
| OKLab | oklab(72.13% -0.0591 0.121) |
| OKLCH | oklch(72.13% 0.135 116) |
| XYZ | xyz(30.9827, 38.6191, 10.8221) |
| Luminance | 0.3862 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 2.82
Avocado (survey)
#90B134
ΔE00 4.02
Sick Green
#9DB92C
ΔE00 4.16
Icky Green
#8FAE22
ΔE00 4.16
Pea Soup Green
#94A617
ΔE00 4.19
Puke Green
#9AAE07
ΔE00 4.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A1AF41 #4F41AF
analogous
#AF8641 #A1AF41 #6AAF41
triadic
#A1AF41 #41A1AF #AF41A1
tetradic
#A1AF41 #41AF86 #4F41AF #AF416A
square
#A1AF41 #41AF86 #4F41AF #AF416A
split-complementary
#A1AF41 #416AAF #8641AF
monochromatic
#4F5620 #788230 #A1AF41 #BAC667 #CED793
Accessibility & contrast
On white
2.41
#A1AF41 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.72
#A1AF41 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A1AF41
8.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A1AF41 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A1AF41 | 1.00 | 2.41 | 8.72 | 8.72 |
| #FFFFFF | 2.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA633
Deuteranopia (green-blind)
#B9A848
Tritanopia (blue-blind)
#ABA698
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #a1af41; /* rgb */ color: rgb(161, 175, 65); /* oklch */ color: oklch(72.1% 0.135 116.0);
Tailwind
colors: {
custom: {
50: '#bfc67b',
500: '#a1af41',
950: '#000000',
},
}SCSS
$custom: #a1af41; $custom-light: #bfc67b; $custom-dark: #000000;
JSON
{
"hex": "#a1af41",
"rgb": {
"r": 161,
"g": 175,
"b": 65
},
"hsl": {
"h": 67.636,
"s": 45.833,
"l": 47.059
},
"oklch": {
"l": 0.72134,
"c": 0.13465,
"h": 116
},
"luminance": 0.38619
}Semantic roles & 50–950 ramp
primary
#A1AF41
secondary
#9189C2
accent
#52D563
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#12130A
muted
#81827C