#A8C221#A8C221
#A8C221 is a light, vivid yellow. Relative luminance 0.470; OKLCH L 76.8% C 0.173 H 119.2°. Best body text is #000000 at 10.40:1 contrast (WCAG AA passes).
Color values
| HEX | #A8C221 |
|---|---|
| RGB | rgb(168, 194, 33) |
| HSL | hsl(70, 71%, 45%) |
| HSV | hsv(70, 83%, 76%) |
| CMYK | cmyk(13.4%, 0%, 83%, 23.9%) |
| CIE-LAB | lab(74.20, -27.99, 69.60) |
| CIE-LCH | lch(74.20, 75.02, 111.91°) |
| OKLab | oklab(76.81% -0.0843 0.1507) |
| OKLCH | oklch(76.81% 0.173 119.2) |
| XYZ | xyz(35.7156, 47.0184, 8.6325) |
| Luminance | 0.4702 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 0.90
Gross Green
#A0BF16
ΔE00 1.40
Snot Green
#9DC100
ΔE00 1.98
Bright Olive
#9CBB04
ΔE00 2.35
Snot
#ACBB0D
ΔE00 2.89
Sick Green
#9DB92C
ΔE00 3.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8C221 #3B21C2
analogous
#C28B21 #A8C221 #58C221
triadic
#A8C221 #21A8C2 #C221A8
tetradic
#A8C221 #21C28B #3B21C2 #C22158
square
#A8C221 #21C28B #3B21C2 #C22158
split-complementary
#A8C221 #2158C2 #8B21C2
monochromatic
#4D590F #7B8E18 #A8C221 #C5DF41 #D5E876
Accessibility & contrast
On white
2.02
#A8C221 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.40
#A8C221 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8C221
10.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8C221 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8C221 | 1.00 | 2.02 | 10.40 | 10.40 |
| #FFFFFF | 2.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CFB600
Deuteranopia (green-blind)
#CCB733
Tritanopia (blue-blind)
#B2B7A6
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #a8c221; /* rgb */ color: rgb(168, 194, 33); /* oklch */ color: oklch(76.8% 0.173 119.2);
Tailwind
colors: {
custom: {
50: '#c6d46d',
500: '#a8c221',
950: '#000000',
},
}SCSS
$custom: #a8c221; $custom-light: #c6d46d; $custom-dark: #000000;
JSON
{
"hex": "#a8c221",
"rgb": {
"r": 168,
"g": 194,
"b": 33
},
"hsl": {
"h": 69.689,
"s": 70.925,
"l": 44.51
},
"oklch": {
"l": 0.76807,
"c": 0.17265,
"h": 119.2
},
"luminance": 0.47018
}Semantic roles & 50–950 ramp
primary
#A8C221
secondary
#7F70CF
accent
#3AEE57
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#131408
muted
#82827B