#A6C72C#A6C72C

#A6C72C is a light, vivid yellow-green. Relative luminance 0.491; OKLCH L 77.9% C 0.174 H 121.5°. Best body text is #000000 at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#A6C72C
RGBrgb(166, 199, 44)
HSLhsl(73, 64%, 48%)
HSVhsv(73, 78%, 78%)
CMYKcmyk(16.6%, 0%, 77.9%, 22%)
CIE-LABlab(75.54, -30.77, 67.77)
CIE-LCHlch(75.54, 74.43, 114.42°)
OKLaboklab(77.86% -0.0911 0.1487)
OKLCHoklch(77.86% 0.174 121.5)
XYZxyz(36.6046, 49.1357, 9.9381)
Luminance0.4914 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6C72C #4D2CC7
analogous
#C79A2C #A6C72C #59C72C
triadic
#A6C72C #2CA6C7 #C72CA6
tetradic
#A6C72C #2CC79A #4D2CC7 #C72C59
square
#A6C72C #2CC79A #4D2CC7 #C72C59
split-complementary
#A6C72C #2C59C7 #9A2CC7
monochromatic
#526316 #7C9521 #A6C72C #BEDA56 #D1E589

Accessibility & contrast

On white

1.94
#A6C72C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.83
#A6C72C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6C72C
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6C72C#FFFFFF#000000##000000
##A6C72C1.001.9410.8310.83
#FFFFFF1.941.0021.0021.00
#00000010.8321.001.001.00
##00000010.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB00
Deuteranopia (green-blind)
#CFBA3B
Tritanopia (blue-blind)
#AFBCAA
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #a6c72c;
/* rgb */ color: rgb(166, 199, 44);
/* oklch */ color: oklch(77.9% 0.174 121.5);
Tailwind
colors: {
  custom: {
    50: '#c4d872',
    500: '#a6c72c',
    950: '#000000',
  },
}
SCSS
$custom: #a6c72c;
$custom-light: #c4d872;
$custom-dark: #000000;
JSON
{
  "hex": "#a6c72c",
  "rgb": {
    "r": 166,
    "g": 199,
    "b": 44
  },
  "hsl": {
    "h": 72.774,
    "s": 63.786,
    "l": 47.647
  },
  "oklch": {
    "l": 0.77863,
    "c": 0.17432,
    "h": 121.5
  },
  "luminance": 0.49136
}

Semantic roles & 50–950 ramp

primary
#A6C72C
secondary
#9180CF
accent
#41E764
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131409
muted
#82837B

Preview Lab

Preview with #A6C72C

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

Preview Lab → · Contrast checker → · Palette generator →

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