#A1AF33#A1AF33
#A1AF33 is a light, vivid yellow. Relative luminance 0.385; OKLCH L 72.0% C 0.145 H 115.7°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).
Color values
| HEX | #A1AF33 |
|---|---|
| RGB | rgb(161, 175, 51) |
| HSL | hsl(67, 55%, 44%) |
| HSV | hsv(67, 71%, 69%) |
| CMYK | cmyk(8%, 0%, 70.9%, 31.4%) |
| CIE-LAB | lab(68.37, -20.88, 58.52) |
| CIE-LCH | lch(68.37, 62.14, 109.64°) |
| OKLab | oklab(72.02% -0.0629 0.1305) |
| OKLCH | oklch(72.02% 0.145 115.7) |
| XYZ | xyz(30.6262, 38.4765, 8.9447) |
| Luminance | 0.3848 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 2.71
Booger
#9BB53C
ΔE00 3.09
Barf Green
#94AC02
ΔE00 3.26
Pea Soup Green
#94A617
ΔE00 3.28
Sickly Green
#94B21C
ΔE00 3.42
Sick Green
#9DB92C
ΔE00 3.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A1AF33 #4133AF
analogous
#AF7F33 #A1AF33 #63AF33
triadic
#A1AF33 #33A1AF #AF33A1
tetradic
#A1AF33 #33AF7F #4133AF #AF3363
square
#A1AF33 #33AF7F #4133AF #AF3363
split-complementary
#A1AF33 #3363AF #7F33AF
monochromatic
#4A5017 #758025 #A1AF33 #BFCD52 #D1DB82
Accessibility & contrast
On white
2.42
#A1AF33 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.70
#A1AF33 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A1AF33
8.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A1AF33 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A1AF33 | 1.00 | 2.42 | 8.70 | 8.70 |
| #FFFFFF | 2.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA61E
Deuteranopia (green-blind)
#BAA83D
Tritanopia (blue-blind)
#ABA597
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #a1af33; /* rgb */ color: rgb(161, 175, 51); /* oklch */ color: oklch(72.0% 0.145 115.7);
Tailwind
colors: {
custom: {
50: '#c0c673',
500: '#a1af33',
950: '#000000',
},
}SCSS
$custom: #a1af33; $custom-light: #c0c673; $custom-dark: #000000;
JSON
{
"hex": "#a1af33",
"rgb": {
"r": 161,
"g": 175,
"b": 51
},
"hsl": {
"h": 66.774,
"s": 54.867,
"l": 44.314
},
"oklch": {
"l": 0.72017,
"c": 0.14484,
"h": 115.7
},
"luminance": 0.38476
}Semantic roles & 50–950 ramp
primary
#A1AF33
secondary
#827AC4
accent
#4ADE5A
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B