#A1AF2E#A1AF2E
#A1AF2E is a light, vivid yellow. Relative luminance 0.384; OKLCH L 72.0% C 0.148 H 115.7°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).
Color values
| HEX | #A1AF2E |
|---|---|
| RGB | rgb(161, 175, 46) |
| HSL | hsl(67, 58%, 43%) |
| HSV | hsv(67, 74%, 69%) |
| CMYK | cmyk(8%, 0%, 73.7%, 31.4%) |
| CIE-LAB | lab(68.34, -21.14, 60.29) |
| CIE-LCH | lch(68.34, 63.89, 109.32°) |
| OKLab | oklab(71.98% -0.0641 0.1333) |
| OKLCH | oklch(71.98% 0.148 115.7) |
| XYZ | xyz(30.5219, 38.4347, 8.3950) |
| Luminance | 0.3843 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 2.30
Barf Green
#94AC02
ΔE00 2.97
Pea Soup Green
#94A617
ΔE00 3.12
Sickly Green
#94B21C
ΔE00 3.31
Booger
#9BB53C
ΔE00 3.34
Mustard Green
#A8B504
ΔE00 3.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A1AF2E #3C2EAF
analogous
#AF7C2E #A1AF2E #60AF2E
triadic
#A1AF2E #2EA1AF #AF2EA1
tetradic
#A1AF2E #2EAF7C #3C2EAF #AF2E60
square
#A1AF2E #2EAF7C #3C2EAF #AF2E60
split-complementary
#A1AF2E #2E60AF #7C2EAF
monochromatic
#484E15 #747F21 #A1AF2E #C1D04B #D2DC7B
Accessibility & contrast
On white
2.42
#A1AF2E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.69
#A1AF2E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A1AF2E
8.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A1AF2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A1AF2E | 1.00 | 2.42 | 8.69 | 8.69 |
| #FFFFFF | 2.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA613
Deuteranopia (green-blind)
#BAA839
Tritanopia (blue-blind)
#ABA596
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #a1af2e; /* rgb */ color: rgb(161, 175, 46); /* oklch */ color: oklch(72.0% 0.148 115.7);
Tailwind
colors: {
custom: {
50: '#c0c670',
500: '#a1af2e',
950: '#000000',
},
}SCSS
$custom: #a1af2e; $custom-light: #c0c670; $custom-dark: #000000;
JSON
{
"hex": "#a1af2e",
"rgb": {
"r": 161,
"g": 175,
"b": 46
},
"hsl": {
"h": 66.512,
"s": 58.371,
"l": 43.333
},
"oklch": {
"l": 0.71983,
"c": 0.14793,
"h": 115.7
},
"luminance": 0.38434
}Semantic roles & 50–950 ramp
primary
#A1AF2E
secondary
#7D74C5
accent
#46E257
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B