#A6F671#A6F671

#A6F671 is a very light, vivid yellow-green. Relative luminance 0.752; OKLCH L 89.3% C 0.184 H 134.5°. Best body text is #000000 at 16.04:1 contrast (WCAG AA passes).

Color values

HEX#A6F671
RGBrgb(166, 246, 113)
HSLhsl(96, 88%, 70%)
HSVhsv(96, 54%, 96%)
CMYKcmyk(32.5%, 0%, 54.1%, 3.5%)
CIE-LABlab(89.49, -46.65, 55.59)
CIE-LCHlch(89.49, 72.57, 130.00°)
OKLaboklab(89.35% -0.1292 0.1315)
OKLCHoklch(89.35% 0.184 134.5)
XYZxyz(51.6612, 75.2087, 27.4144)
Luminance0.7521 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6F671 #C171F6
analogous
#E9F671 #A6F671 #71F67E
triadic
#A6F671 #71A6F6 #F671A6
tetradic
#A6F671 #71E9F6 #C171F6 #F67E71
square
#A6F671 #71E9F6 #C171F6 #F67E71
split-complementary
#A6F671 #7E71F6 #F671E9
monochromatic
#61DE0E #82F237 #A6F671 #CAFAAB #EDFDE2

Accessibility & contrast

On white

1.31
#A6F671 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.04
#A6F671 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6F671
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6F671#FFFFFF#000000##000000
##A6F6711.001.3116.0416.04
#FFFFFF1.311.0021.0021.00
#00000016.0421.001.001.00
##00000016.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE564
Deuteranopia (green-blind)
#F3DF7A
Tritanopia (blue-blind)
#A5EED8
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #a6f671;
/* rgb */ color: rgb(166, 246, 113);
/* oklch */ color: oklch(89.3% 0.184 134.5);
Tailwind
colors: {
  custom: {
    50: '#c4f99d',
    500: '#a6f671',
    950: '#000000',
  },
}
SCSS
$custom: #a6f671;
$custom-light: #c4f99d;
$custom-dark: #000000;
JSON
{
  "hex": "#a6f671",
  "rgb": {
    "r": 166,
    "g": 246,
    "b": 113
  },
  "hsl": {
    "h": 96.09,
    "s": 88.079,
    "l": 70.392
  },
  "oklch": {
    "l": 0.89347,
    "c": 0.18437,
    "h": 134.5
  },
  "luminance": 0.75211
}

Semantic roles & 50–950 ramp

primary
#A6F671
secondary
#953BD0
accent
#01E58A
background
#FDFFFC
surface
#F9FFF5
border
#D2D7CF
text
#13170F
muted
#828580

Preview Lab

Preview with #A6F671

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

Preview Lab → · Contrast checker → · Palette generator →

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