#A6F56F#A6F56F

#A6F56F is a very light, vivid yellow-green. Relative luminance 0.746; OKLCH L 89.1% C 0.185 H 134.2°. Best body text is #000000 at 15.91:1 contrast (WCAG AA passes).

Color values

HEX#A6F56F
RGBrgb(166, 245, 111)
HSLhsl(95, 87%, 70%)
HSVhsv(95, 55%, 96%)
CMYKcmyk(32.2%, 0%, 54.7%, 3.9%)
CIE-LABlab(89.19, -46.43, 56.13)
CIE-LCHlch(89.19, 72.84, 129.60°)
OKLaboklab(89.09% -0.1287 0.1325)
OKLCHoklch(89.09% 0.185 134.2)
XYZxyz(51.2465, 74.5575, 26.7268)
Luminance0.7456 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6F56F #BE6FF5
analogous
#E9F56F #A6F56F #6FF57B
triadic
#A6F56F #6FA6F5 #F56FA6
tetradic
#A6F56F #6FE9F5 #BE6FF5 #F57B6F
square
#A6F56F #6FE9F5 #BE6FF5 #F57B6F
split-complementary
#A6F56F #7B6FF5 #F56FE9
monochromatic
#63DA0F #83F136 #A6F56F #C9F9A8 #EDFDE1

Accessibility & contrast

On white

1.32
#A6F56F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.91
#A6F56F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6F56F
15.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6F56F#FFFFFF#000000##000000
##A6F56F1.001.3215.9115.91
#FFFFFF1.321.0021.0021.00
#00000015.9121.001.001.00
##00000015.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE462
Deuteranopia (green-blind)
#F2DE78
Tritanopia (blue-blind)
#A6EDD7
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #a6f56f;
/* rgb */ color: rgb(166, 245, 111);
/* oklch */ color: oklch(89.1% 0.185 134.2);
Tailwind
colors: {
  custom: {
    50: '#c4f99c',
    500: '#a6f56f',
    950: '#000000',
  },
}
SCSS
$custom: #a6f56f;
$custom-light: #c4f99c;
$custom-dark: #000000;
JSON
{
  "hex": "#a6f56f",
  "rgb": {
    "r": 166,
    "g": 245,
    "b": 111
  },
  "hsl": {
    "h": 95.373,
    "s": 87.013,
    "l": 69.804
  },
  "oklch": {
    "l": 0.89091,
    "c": 0.18476,
    "h": 134.2
  },
  "luminance": 0.7456
}

Semantic roles & 50–950 ramp

primary
#A6F56F
secondary
#9239CF
accent
#02E487
background
#FDFFFC
surface
#F9FFF5
border
#D2D7CF
text
#13170E
muted
#82857F

Preview Lab

Preview with #A6F56F

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

Preview Lab → · Contrast checker → · Palette generator →

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