#A6F970#A6F970

#A6F970 is a very light, vivid yellow-green. Relative luminance 0.770; OKLCH L 90.0% C 0.189 H 134.7°. Best body text is #000000 at 16.41:1 contrast (WCAG AA passes).

Color values

HEX#A6F970
RGBrgb(166, 249, 112)
HSLhsl(96, 92%, 71%)
HSVhsv(96, 55%, 98%)
CMYKcmyk(33.3%, 0%, 55%, 2.4%)
CIE-LABlab(90.33, -48.02, 57.03)
CIE-LCHlch(90.33, 74.55, 130.10°)
OKLaboklab(90.03% -0.133 0.1346)
OKLCHoklch(90.03% 0.189 134.7)
XYZxyz(52.5251, 77.0261, 27.4261)
Luminance0.7703 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6F970 #C370F9
analogous
#EBF970 #A6F970 #70F97E
triadic
#A6F970 #70A6F9 #F970A6
tetradic
#A6F970 #70EBF9 #C370F9 #F97E70
square
#A6F970 #70EBF9 #C370F9 #F97E70
split-complementary
#A6F970 #7E70F9 #F970EB
monochromatic
#60E50A #81F735 #A6F970 #CBFBAB #EDFEE2

Accessibility & contrast

On white

1.28
#A6F970 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.41
#A6F970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6F970
16.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6F970#FFFFFF#000000##000000
##A6F9701.001.2816.4116.41
#FFFFFF1.281.0021.0021.00
#00000016.4121.001.001.00
##00000016.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE862
Deuteranopia (green-blind)
#F6E17A
Tritanopia (blue-blind)
#A5F1DB
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #a6f970;
/* rgb */ color: rgb(166, 249, 112);
/* oklch */ color: oklch(90.0% 0.189 134.7);
Tailwind
colors: {
  custom: {
    50: '#c4fb9d',
    500: '#a6f970',
    950: '#000000',
  },
}
SCSS
$custom: #a6f970;
$custom-light: #c4fb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#a6f970",
  "rgb": {
    "r": 166,
    "g": 249,
    "b": 112
  },
  "hsl": {
    "h": 96.35,
    "s": 91.946,
    "l": 70.784
  },
  "oklch": {
    "l": 0.90029,
    "c": 0.18922,
    "h": 134.7
  },
  "luminance": 0.77028
}

Semantic roles & 50–950 ramp

primary
#A6F970
secondary
#9739D4
accent
#00E68B
background
#FDFFFC
surface
#F9FFF5
border
#D2D7CF
text
#13170E
muted
#82857F

Preview Lab

Preview with #A6F970

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

Preview Lab → · Contrast checker → · Palette generator →

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