#A1AF2D#A1AF2D
#A1AF2D is a light, vivid yellow. Relative luminance 0.384; OKLCH L 72.0% C 0.149 H 115.7°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).
Color values
| HEX | #A1AF2D |
|---|---|
| RGB | rgb(161, 175, 45) |
| HSL | hsl(66, 59%, 43%) |
| HSV | hsv(66, 74%, 69%) |
| CMYK | cmyk(8%, 0%, 74.3%, 31.4%) |
| CIE-LAB | lab(68.33, -21.19, 60.63) |
| CIE-LCH | lch(68.33, 64.22, 109.26°) |
| OKLab | oklab(71.98% -0.0643 0.1339) |
| OKLCH | oklch(71.98% 0.149 115.7) |
| XYZ | xyz(30.5024, 38.4270, 8.2924) |
| Luminance | 0.3843 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 2.23
Barf Green
#94AC02
ΔE00 2.92
Pea Soup Green
#94A617
ΔE00 3.10
Mustard Green
#A8B504
ΔE00 3.28
Sickly Green
#94B21C
ΔE00 3.30
Booger
#9BB53C
ΔE00 3.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A1AF2D #3B2DAF
analogous
#AF7C2D #A1AF2D #60AF2D
triadic
#A1AF2D #2DA1AF #AF2DA1
tetradic
#A1AF2D #2DAF7C #3B2DAF #AF2D60
square
#A1AF2D #2DAF7C #3B2DAF #AF2D60
split-complementary
#A1AF2D #2D60AF #7C2DAF
monochromatic
#474E14 #747E20 #A1AF2D #C2D049 #D2DD7A
Accessibility & contrast
On white
2.42
#A1AF2D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.69
#A1AF2D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A1AF2D
8.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A1AF2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A1AF2D | 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)
#BCA611
Deuteranopia (green-blind)
#BAA838
Tritanopia (blue-blind)
#ABA596
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #a1af2d; /* rgb */ color: rgb(161, 175, 45); /* oklch */ color: oklch(72.0% 0.149 115.7);
Tailwind
colors: {
custom: {
50: '#c0c670',
500: '#a1af2d',
950: '#000000',
},
}SCSS
$custom: #a1af2d; $custom-light: #c0c670; $custom-dark: #000000;
JSON
{
"hex": "#a1af2d",
"rgb": {
"r": 161,
"g": 175,
"b": 45
},
"hsl": {
"h": 66.462,
"s": 59.091,
"l": 43.137
},
"oklch": {
"l": 0.71976,
"c": 0.14852,
"h": 115.7
},
"luminance": 0.38426
}Semantic roles & 50–950 ramp
primary
#A1AF2D
secondary
#7C73C5
accent
#46E256
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B