#A6F257#A6F257

#A6F257 is a very light, vivid yellow-green. Relative luminance 0.723; OKLCH L 88.1% C 0.200 H 131.7°. Best body text is #000000 at 15.46:1 contrast (WCAG AA passes).

Color values

HEX#A6F257
RGBrgb(166, 242, 87)
HSLhsl(89, 86%, 65%)
HSVhsv(89, 64%, 95%)
CMYKcmyk(31.4%, 0%, 64%, 5.1%)
CIE-LABlab(88.11, -47.30, 65.10)
CIE-LCHlch(88.11, 80.47, 126.00°)
OKLaboklab(88.15% -0.1329 0.1493)
OKLCHoklch(88.15% 0.2 131.7)
XYZxyz(49.1977, 72.2977, 20.3777)
Luminance0.7230 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6F257 #A357F2
analogous
#F2F057 #A6F257 #59F257
triadic
#A6F257 #57A6F2 #F257A6
tetradic
#A6F257 #57F2F0 #A357F2 #F25759
square
#A6F257 #57F2F0 #A357F2 #F25759
split-complementary
#A6F257 #5759F2 #F057F2
monochromatic
#69C00F #88EE1E #A6F257 #C4F690 #E2FBC9

Accessibility & contrast

On white

1.36
#A6F257 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.46
#A6F257 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6F257
15.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6F257#FFFFFF#000000##000000
##A6F2571.001.3615.4615.46
#FFFFFF1.361.0021.0021.00
#00000015.4621.001.001.00
##00000015.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE143
Deuteranopia (green-blind)
#F1DB63
Tritanopia (blue-blind)
#A8E8D2
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #a6f257;
/* rgb */ color: rgb(166, 242, 87);
/* oklch */ color: oklch(88.1% 0.200 131.7);
Tailwind
colors: {
  custom: {
    50: '#c5f78d',
    500: '#a6f257',
    950: '#000000',
  },
}
SCSS
$custom: #a6f257;
$custom-light: #c5f78d;
$custom-dark: #000000;
JSON
{
  "hex": "#a6f257",
  "rgb": {
    "r": 166,
    "g": 242,
    "b": 87
  },
  "hsl": {
    "h": 89.419,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.88148,
    "c": 0.19987,
    "h": 131.7
  },
  "luminance": 0.72299
}

Semantic roles & 50–950 ramp

primary
#A6F257
secondary
#7530BE
accent
#03E271
background
#FEFFFC
surface
#FAFEF4
border
#D3D6CE
text
#13170D
muted
#83857F

Preview Lab

Preview with #A6F257

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

Preview Lab → · Contrast checker → · Palette generator →

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