#A6C72F#A6C72F

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

Color values

HEX#A6C72F
RGBrgb(166, 199, 47)
HSLhsl(73, 62%, 48%)
HSVhsv(73, 76%, 78%)
CMYKcmyk(16.6%, 0%, 76.4%, 22%)
CIE-LABlab(75.55, -30.64, 66.88)
CIE-LCHlch(75.55, 73.56, 114.62°)
OKLaboklab(77.88% -0.0905 0.1473)
OKLCHoklch(77.88% 0.173 121.6)
XYZxyz(36.6630, 49.1591, 10.2459)
Luminance0.4916 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6C72F #502FC7
analogous
#C79C2F #A6C72F #5AC72F
triadic
#A6C72F #2FA6C7 #C72FA6
tetradic
#A6C72F #2FC79C #502FC7 #C72F5A
square
#A6C72F #2FC79C #502FC7 #C72F5A
split-complementary
#A6C72F #2F5AC7 #9C2FC7
monochromatic
#536418 #7D9523 #A6C72F #BDD85B #D1E48C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6C72F#FFFFFF#000000##000000
##A6C72F1.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)
#D3BB03
Deuteranopia (green-blind)
#CFBA3E
Tritanopia (blue-blind)
#AFBDAB
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #a6c72f;
/* rgb */ color: rgb(166, 199, 47);
/* oklch */ color: oklch(77.9% 0.173 121.6);
Tailwind
colors: {
  custom: {
    50: '#c4d874',
    500: '#a6c72f',
    950: '#000000',
  },
}
SCSS
$custom: #a6c72f;
$custom-light: #c4d874;
$custom-dark: #000000;
JSON
{
  "hex": "#a6c72f",
  "rgb": {
    "r": 166,
    "g": 199,
    "b": 47
  },
  "hsl": {
    "h": 73.026,
    "s": 61.789,
    "l": 48.235
  },
  "oklch": {
    "l": 0.77879,
    "c": 0.17282,
    "h": 121.6
  },
  "luminance": 0.49159
}

Semantic roles & 50–950 ramp

primary
#A6C72F
secondary
#9484CE
accent
#43E566
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131409
muted
#82837B

Preview Lab

Preview with #A6C72F

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

Preview Lab → · Contrast checker → · Palette generator →

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