#A6C221#A6C221

#A6C221 is a light, vivid yellow-green. Relative luminance 0.468; OKLCH L 76.7% C 0.173 H 119.9°. Best body text is #000000 at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#A6C221
RGBrgb(166, 194, 33)
HSLhsl(70, 71%, 45%)
HSVhsv(70, 83%, 76%)
CMYKcmyk(14.4%, 0%, 83%, 23.9%)
CIE-LABlab(74.06, -28.82, 69.43)
CIE-LCHlch(74.06, 75.17, 112.54°)
OKLaboklab(76.66% -0.0864 0.1504)
OKLCHoklch(76.66% 0.173 119.9)
XYZxyz(35.2930, 46.8005, 8.6127)
Luminance0.4680 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6C221 #3D21C2
analogous
#C28E21 #A6C221 #55C221
triadic
#A6C221 #21A6C2 #C221A6
tetradic
#A6C221 #21C28E #3D21C2 #C22155
square
#A6C221 #21C28E #3D21C2 #C22155
split-complementary
#A6C221 #2155C2 #8E21C2
monochromatic
#4C590F #798E18 #A6C221 #C3DF41 #D4E876

Accessibility & contrast

On white

2.03
#A6C221 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.36
#A6C221 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6C221
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6C221#FFFFFF#000000##000000
##A6C2211.002.0310.3610.36
#FFFFFF2.031.0021.0021.00
#00000010.3621.001.001.00
##00000010.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB600
Deuteranopia (green-blind)
#CCB633
Tritanopia (blue-blind)
#B0B7A6
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #a6c221;
/* rgb */ color: rgb(166, 194, 33);
/* oklch */ color: oklch(76.7% 0.173 119.9);
Tailwind
colors: {
  custom: {
    50: '#c5d46d',
    500: '#a6c221',
    950: '#000000',
  },
}
SCSS
$custom: #a6c221;
$custom-light: #c5d46d;
$custom-dark: #000000;
JSON
{
  "hex": "#a6c221",
  "rgb": {
    "r": 166,
    "g": 194,
    "b": 33
  },
  "hsl": {
    "h": 70.435,
    "s": 70.925,
    "l": 44.51
  },
  "oklch": {
    "l": 0.76659,
    "c": 0.17346,
    "h": 119.9
  },
  "luminance": 0.468
}

Semantic roles & 50–950 ramp

primary
#A6C221
secondary
#8070CF
accent
#3AEE59
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131408
muted
#82827B

Preview Lab

Preview with #A6C221

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#A6C221 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva