#A6EC5F#A6EC5F

#A6EC5F is a very light, vivid yellow-green. Relative luminance 0.689; OKLCH L 86.8% C 0.186 H 131.5°. Best body text is #000000 at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#A6EC5F
RGBrgb(166, 236, 95)
HSLhsl(90, 79%, 65%)
HSVhsv(90, 60%, 93%)
CMYKcmyk(29.7%, 0%, 59.7%, 7.5%)
CIE-LABlab(86.47, -44.08, 60.00)
CIE-LCHlch(86.47, 74.46, 126.30°)
OKLaboklab(86.83% -0.1234 0.1394)
OKLCHoklch(86.83% 0.186 131.5)
XYZxyz(47.7863, 68.9226, 21.6099)
Luminance0.6892 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6EC5F #A55FEC
analogous
#ECEB5F #A6EC5F #60EC5F
triadic
#A6EC5F #5FA6EC #EC5FA6
tetradic
#A6EC5F #5FECEB #A55FEC #EC5F60
square
#A6EC5F #5FECEB #A55FEC #EC5F60
split-complementary
#A6EC5F #5F60EC #EB5FEC
monochromatic
#69BA16 #88E628 #A6EC5F #C4F296 #E3F9CC

Accessibility & contrast

On white

1.42
#A6EC5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.78
#A6EC5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6EC5F
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6EC5F#FFFFFF#000000##000000
##A6EC5F1.001.4214.7814.78
#FFFFFF1.421.0021.0021.00
#00000014.7821.001.001.00
##00000014.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DC4F
Deuteranopia (green-blind)
#ECD769
Tritanopia (blue-blind)
#A8E3CE
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #a6ec5f;
/* rgb */ color: rgb(166, 236, 95);
/* oklch */ color: oklch(86.8% 0.186 131.5);
Tailwind
colors: {
  custom: {
    50: '#c4f291',
    500: '#a6ec5f',
    950: '#000000',
  },
}
SCSS
$custom: #a6ec5f;
$custom-light: #c4f291;
$custom-dark: #000000;
JSON
{
  "hex": "#a6ec5f",
  "rgb": {
    "r": 166,
    "g": 236,
    "b": 95
  },
  "hsl": {
    "h": 89.787,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.86831,
    "c": 0.18618,
    "h": 131.5
  },
  "luminance": 0.68924
}

Semantic roles & 50–950 ramp

primary
#A6EC5F
secondary
#7736BA
accent
#0ADB72
background
#FDFFFC
surface
#F9FEF4
border
#D2D6CE
text
#13170D
muted
#82857F

Preview Lab

Preview with #A6EC5F

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

Preview Lab → · Contrast checker → · Palette generator →

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