#A6E231#A6E231

#A6E231 is a very light, highly saturated yellow-green. Relative luminance 0.627; OKLCH L 84.2% C 0.203 H 127.4°. Best body text is #000000 at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#A6E231
RGBrgb(166, 226, 49)
HSLhsl(80, 75%, 54%)
HSVhsv(80, 78%, 89%)
CMYKcmyk(26.5%, 0%, 78.3%, 11.4%)
CIE-LABlab(83.30, -42.75, 73.43)
CIE-LCHlch(83.30, 84.96, 120.21°)
OKLaboklab(84.16% -0.1233 0.1614)
OKLCHoklch(84.16% 0.203 127.4)
XYZxyz(43.4768, 62.7205, 12.7208)
Luminance0.6272 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6E231 #6D31E2
analogous
#E2C631 #A6E231 #4EE231
triadic
#A6E231 #31A6E2 #E231A6
tetradic
#A6E231 #31E2C6 #6D31E2 #E2314E
square
#A6E231 #31E2C6 #6D31E2 #E2314E
split-complementary
#A6E231 #314EE2 #C631E2
monochromatic
#5F8613 #85BB1A #A6E231 #BDEA67 #D4F19C

Accessibility & contrast

On white

1.55
#A6E231 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.54
#A6E231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6E231
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6E231#FFFFFF#000000##000000
##A6E2311.001.5513.5413.54
#FFFFFF1.551.0021.0021.00
#00000013.5421.001.001.00
##00000013.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED200
Deuteranopia (green-blind)
#E6CE44
Tritanopia (blue-blind)
#ACD7C2
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #a6e231;
/* rgb */ color: rgb(166, 226, 49);
/* oklch */ color: oklch(84.2% 0.203 127.4);
Tailwind
colors: {
  custom: {
    50: '#c5eb78',
    500: '#a6e231',
    950: '#000000',
  },
}
SCSS
$custom: #a6e231;
$custom-light: #c5eb78;
$custom-dark: #000000;
JSON
{
  "hex": "#a6e231",
  "rgb": {
    "r": 166,
    "g": 226,
    "b": 49
  },
  "hsl": {
    "h": 80.339,
    "s": 75.319,
    "l": 53.922
  },
  "oklch": {
    "l": 0.84156,
    "c": 0.20312,
    "h": 127.4
  },
  "luminance": 0.62721
}

Semantic roles & 50–950 ramp

primary
#A6E231
secondary
#4C2B8C
accent
#36F276
background
#FEFEFB
surface
#FAFDF2
border
#D3D5CC
text
#13160A
muted
#83847D

Preview Lab

Preview with #A6E231

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

Preview Lab → · Contrast checker → · Palette generator →

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