#A1AF2B#A1AF2B
#A1AF2B is a light, vivid yellow. Relative luminance 0.384; OKLCH L 72.0% C 0.150 H 115.6°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).
Color values
| HEX | #A1AF2B |
|---|---|
| RGB | rgb(161, 175, 43) |
| HSL | hsl(66, 61%, 43%) |
| HSV | hsv(66, 75%, 69%) |
| CMYK | cmyk(8%, 0%, 75.4%, 31.4%) |
| CIE-LAB | lab(68.32, -21.28, 61.29) |
| CIE-LCH | lch(68.32, 64.88, 109.15°) |
| OKLab | oklab(71.96% -0.0647 0.1349) |
| OKLCH | oklch(71.96% 0.15 115.6) |
| XYZ | xyz(30.4648, 38.4119, 8.0944) |
| Luminance | 0.3841 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 2.09
Barf Green
#94AC02
ΔE00 2.83
Pea Soup Green
#94A617
ΔE00 3.07
Mustard Green
#A8B504
ΔE00 3.13
Sickly Green
#94B21C
ΔE00 3.29
Booger
#9BB53C
ΔE00 3.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A1AF2B #392BAF
analogous
#AF7B2B #A1AF2B #5FAF2B
triadic
#A1AF2B #2BA1AF #AF2BA1
tetradic
#A1AF2B #2BAF7B #392BAF #AF2B5F
square
#A1AF2B #2BAF7B #392BAF #AF2B5F
split-complementary
#A1AF2B #2B5FAF #7B2BAF
monochromatic
#474D13 #747E1F #A1AF2B #C3D146 #D3DE77
Accessibility & contrast
On white
2.42
#A1AF2B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.68
#A1AF2B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A1AF2B
8.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A1AF2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A1AF2B | 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)
#BCA60B
Deuteranopia (green-blind)
#BBA837
Tritanopia (blue-blind)
#ACA596
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #a1af2b; /* rgb */ color: rgb(161, 175, 43); /* oklch */ color: oklch(72.0% 0.150 115.6);
Tailwind
colors: {
custom: {
50: '#c0c66f',
500: '#a1af2b',
950: '#000000',
},
}SCSS
$custom: #a1af2b; $custom-light: #c0c66f; $custom-dark: #000000;
JSON
{
"hex": "#a1af2b",
"rgb": {
"r": 161,
"g": 175,
"b": 43
},
"hsl": {
"h": 66.364,
"s": 60.55,
"l": 42.745
},
"oklch": {
"l": 0.71964,
"c": 0.14964,
"h": 115.6
},
"luminance": 0.38411
}Semantic roles & 50–950 ramp
primary
#A1AF2B
secondary
#7970C5
accent
#44E455
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B