#A6E257#A6E257

#A6E257 is a very light, vivid yellow-green. Relative luminance 0.632; OKLCH L 84.4% C 0.180 H 129.4°. Best body text is #000000 at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#A6E257
RGBrgb(166, 226, 87)
HSLhsl(86, 71%, 61%)
HSVhsv(86, 62%, 89%)
CMYKcmyk(26.5%, 0%, 61.5%, 11.4%)
CIE-LABlab(83.54, -40.39, 60.14)
CIE-LCHlch(83.54, 72.44, 123.89°)
OKLaboklab(84.43% -0.1139 0.1388)
OKLCHoklch(84.43% 0.18 129.4)
XYZxyz(44.6423, 63.1867, 18.8592)
Luminance0.6319 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6E257 #9357E2
analogous
#E2D857 #A6E257 #61E257
triadic
#A6E257 #57A6E2 #E257A6
tetradic
#A6E257 #57E2D8 #9357E2 #E25761
square
#A6E257 #57E2D8 #9357E2 #E25761
split-complementary
#A6E257 #5761E2 #D857E2
monochromatic
#68A31C #8AD725 #A6E257 #C2EB8B #DDF4BF

Accessibility & contrast

On white

1.54
#A6E257 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.64
#A6E257 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6E257
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6E257#FFFFFF#000000##000000
##A6E2571.001.5413.6413.64
#FFFFFF1.541.0021.0021.00
#00000013.6421.001.001.00
##00000013.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD347
Deuteranopia (green-blind)
#E4CF61
Tritanopia (blue-blind)
#AAD9C5
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #a6e257;
/* rgb */ color: rgb(166, 226, 87);
/* oklch */ color: oklch(84.4% 0.180 129.4);
Tailwind
colors: {
  custom: {
    50: '#c4eb8c',
    500: '#a6e257',
    950: '#000000',
  },
}
SCSS
$custom: #a6e257;
$custom-light: #c4eb8c;
$custom-dark: #000000;
JSON
{
  "hex": "#a6e257",
  "rgb": {
    "r": 166,
    "g": 226,
    "b": 87
  },
  "hsl": {
    "h": 85.899,
    "s": 70.558,
    "l": 61.373
  },
  "oklch": {
    "l": 0.84434,
    "c": 0.17955,
    "h": 129.4
  },
  "luminance": 0.63188
}

Semantic roles & 50–950 ramp

primary
#A6E257
secondary
#6738A5
accent
#13D366
background
#FDFEFC
surface
#F9FDF4
border
#D2D5CE
text
#13160C
muted
#82847F

Preview Lab

Preview with #A6E257

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

Preview Lab → · Contrast checker → · Palette generator →

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