#A6C72E#A6C72E

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

Color values

HEX#A6C72E
RGBrgb(166, 199, 46)
HSLhsl(73, 62%, 48%)
HSVhsv(73, 77%, 78%)
CMYKcmyk(16.6%, 0%, 76.9%, 22%)
CIE-LABlab(75.55, -30.69, 67.18)
CIE-LCHlch(75.55, 73.86, 114.55°)
OKLaboklab(77.87% -0.0907 0.1477)
OKLCHoklch(77.87% 0.173 121.5)
XYZxyz(36.6431, 49.1511, 10.1409)
Luminance0.4915 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6C72E #4F2EC7
analogous
#C79B2E #A6C72E #5AC72E
triadic
#A6C72E #2EA6C7 #C72EA6
tetradic
#A6C72E #2EC79B #4F2EC7 #C72E5A
square
#A6C72E #2EC79B #4F2EC7 #C72E5A
split-complementary
#A6C72E #2E5AC7 #9B2EC7
monochromatic
#536417 #7D9523 #A6C72E #BDD959 #D1E48B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6C72E#FFFFFF#000000##000000
##A6C72E1.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)
#CFBA3D
Tritanopia (blue-blind)
#AFBCAB
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #a6c72e;
/* rgb */ color: rgb(166, 199, 46);
/* oklch */ color: oklch(77.9% 0.173 121.5);
Tailwind
colors: {
  custom: {
    50: '#c4d873',
    500: '#a6c72e',
    950: '#000000',
  },
}
SCSS
$custom: #a6c72e;
$custom-light: #c4d873;
$custom-dark: #000000;
JSON
{
  "hex": "#a6c72e",
  "rgb": {
    "r": 166,
    "g": 199,
    "b": 46
  },
  "hsl": {
    "h": 72.941,
    "s": 62.449,
    "l": 48.039
  },
  "oklch": {
    "l": 0.77874,
    "c": 0.17333,
    "h": 121.5
  },
  "luminance": 0.49151
}

Semantic roles & 50–950 ramp

primary
#A6C72E
secondary
#9383CE
accent
#42E665
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131409
muted
#82837B

Preview Lab

Preview with #A6C72E

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

Preview Lab → · Contrast checker → · Palette generator →

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