#A1AF2C#A1AF2C
#A1AF2C is a light, vivid yellow. Relative luminance 0.384; OKLCH L 72.0% C 0.149 H 115.6°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).
Color values
| HEX | #A1AF2C |
|---|---|
| RGB | rgb(161, 175, 44) |
| HSL | hsl(66, 60%, 43%) |
| HSV | hsv(66, 75%, 69%) |
| CMYK | cmyk(8%, 0%, 74.9%, 31.4%) |
| CIE-LAB | lab(68.33, -21.23, 60.96) |
| CIE-LCH | lch(68.33, 64.55, 109.20°) |
| OKLab | oklab(71.97% -0.0645 0.1344) |
| OKLCH | oklch(71.97% 0.149 115.6) |
| XYZ | xyz(30.4834, 38.4193, 8.1922) |
| Luminance | 0.3842 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 2.16
Barf Green
#94AC02
ΔE00 2.87
Pea Soup Green
#94A617
ΔE00 3.08
Mustard Green
#A8B504
ΔE00 3.20
Sickly Green
#94B21C
ΔE00 3.29
Booger
#9BB53C
ΔE00 3.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A1AF2C #3A2CAF
analogous
#AF7B2C #A1AF2C #60AF2C
triadic
#A1AF2C #2CA1AF #AF2CA1
tetradic
#A1AF2C #2CAF7B #3A2CAF #AF2C60
square
#A1AF2C #2CAF7B #3A2CAF #AF2C60
split-complementary
#A1AF2C #2C60AF #7B2CAF
monochromatic
#474D13 #747E20 #A1AF2C #C2D147 #D2DD78
Accessibility & contrast
On white
2.42
#A1AF2C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.68
#A1AF2C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A1AF2C
8.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A1AF2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A1AF2C | 1.00 | 2.42 | 8.68 | 8.68 |
| #FFFFFF | 2.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA60E
Deuteranopia (green-blind)
#BBA837
Tritanopia (blue-blind)
#ACA596
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #a1af2c; /* rgb */ color: rgb(161, 175, 44); /* oklch */ color: oklch(72.0% 0.149 115.6);
Tailwind
colors: {
custom: {
50: '#c0c66f',
500: '#a1af2c',
950: '#000000',
},
}SCSS
$custom: #a1af2c; $custom-light: #c0c66f; $custom-dark: #000000;
JSON
{
"hex": "#a1af2c",
"rgb": {
"r": 161,
"g": 175,
"b": 44
},
"hsl": {
"h": 66.412,
"s": 59.817,
"l": 42.941
},
"oklch": {
"l": 0.7197,
"c": 0.14909,
"h": 115.6
},
"luminance": 0.38419
}Semantic roles & 50–950 ramp
primary
#A1AF2C
secondary
#7B72C5
accent
#45E356
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B