#A8AC21#A8AC21
#A8AC21 is a light, vivid yellow. Relative luminance 0.379; OKLCH L 71.8% C 0.149 H 111.4°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).
Color values
| HEX | #A8AC21 |
|---|---|
| RGB | rgb(168, 172, 33) |
| HSL | hsl(62, 68%, 40%) |
| HSV | hsv(62, 81%, 67%) |
| CMYK | cmyk(2.3%, 0%, 80.8%, 32.5%) |
| CIE-LAB | lab(67.98, -17.14, 64.21) |
| CIE-LCH | lch(67.98, 66.46, 104.95°) |
| OKLab | oklab(71.81% -0.0544 0.1391) |
| OKLCH | oklch(71.81% 0.149 111.4) |
| XYZ | xyz(31.1766, 37.9405, 7.1195) |
| Luminance | 0.3794 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.34
Puke
#A5A502
ΔE00 2.43
Mustard Green
#A8B504
ΔE00 3.18
Puke Green
#9AAE07
ΔE00 3.60
Pea Soup Green
#94A617
ΔE00 4.21
Barf Green
#94AC02
ΔE00 4.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8AC21 #2521AC
analogous
#AC6B21 #A8AC21 #62AC21
triadic
#A8AC21 #21A8AC #AC21A8
tetradic
#A8AC21 #21AC6B #2521AC #AC2162
square
#A8AC21 #21AC6B #2521AC #AC2162
split-complementary
#A8AC21 #2162AC #6B21AC
monochromatic
#44450D #767917 #A8AC21 #D3D832 #DEE266
Accessibility & contrast
On white
2.45
#A8AC21 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.59
#A8AC21 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8AC21
8.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8AC21 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8AC21 | 1.00 | 2.45 | 8.59 | 8.59 |
| #FFFFFF | 2.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BAA400
Deuteranopia (green-blind)
#BBA72E
Tritanopia (blue-blind)
#B4A193
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #a8ac21; /* rgb */ color: rgb(168, 172, 33); /* oklch */ color: oklch(71.8% 0.149 111.4);
Tailwind
colors: {
custom: {
50: '#c6c46a',
500: '#a8ac21',
950: '#000000',
},
}SCSS
$custom: #a8ac21; $custom-light: #c6c46a; $custom-dark: #000000;
JSON
{
"hex": "#a8ac21",
"rgb": {
"r": 168,
"g": 172,
"b": 33
},
"hsl": {
"h": 61.727,
"s": 67.805,
"l": 40.196
},
"oklch": {
"l": 0.71807,
"c": 0.14937,
"h": 111.4
},
"luminance": 0.3794
}Semantic roles & 50–950 ramp
primary
#A8AC21
secondary
#6562C7
accent
#3DEB42
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#131207
muted
#82817A