#A6F958#A6F958

#A6F958 is a very light, highly saturated yellow-green. Relative luminance 0.766; OKLCH L 89.8% C 0.208 H 132.6°. Best body text is #000000 at 16.31:1 contrast (WCAG AA passes).

Color values

HEX#A6F958
RGBrgb(166, 249, 88)
HSLhsl(91, 93%, 66%)
HSVhsv(91, 65%, 98%)
CMYKcmyk(33.3%, 0%, 64.7%, 2.4%)
CIE-LABlab(90.12, -50.15, 66.86)
CIE-LCHlch(90.12, 83.58, 126.87°)
OKLaboklab(89.79% -0.1406 0.1531)
OKLCHoklch(89.79% 0.208 132.6)
XYZxyz(51.3623, 76.5609, 21.3022)
Luminance0.7656 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6F958 #AB58F9
analogous
#F6F958 #A6F958 #58F95A
triadic
#A6F958 #58A6F9 #F958A6
tetradic
#A6F958 #58F6F9 #AB58F9 #F95A58
square
#A6F958 #58F6F9 #AB58F9 #F95A58
split-complementary
#A6F958 #5A58F9 #F958F6
monochromatic
#68CF07 #87F71D #A6F958 #C5FB93 #E5FDCE

Accessibility & contrast

On white

1.29
#A6F958 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.31
#A6F958 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6F958
16.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6F958#FFFFFF#000000##000000
##A6F9581.001.2916.3116.31
#FFFFFF1.291.0021.0021.00
#00000016.3121.001.001.00
##00000016.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE743
Deuteranopia (green-blind)
#F7E065
Tritanopia (blue-blind)
#A7EFD8
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #a6f958;
/* rgb */ color: rgb(166, 249, 88);
/* oklch */ color: oklch(89.8% 0.208 132.6);
Tailwind
colors: {
  custom: {
    50: '#c5fb8e',
    500: '#a6f958',
    950: '#000000',
  },
}
SCSS
$custom: #a6f958;
$custom-light: #c5fb8e;
$custom-dark: #000000;
JSON
{
  "hex": "#a6f958",
  "rgb": {
    "r": 166,
    "g": 249,
    "b": 88
  },
  "hsl": {
    "h": 90.932,
    "s": 93.064,
    "l": 66.078
  },
  "oklch": {
    "l": 0.89785,
    "c": 0.20788,
    "h": 132.6
  },
  "luminance": 0.76563
}

Semantic roles & 50–950 ramp

primary
#A6F958
secondary
#7D2BCA
accent
#00E676
background
#FEFFFC
surface
#FAFFF4
border
#D3D7CE
text
#13170D
muted
#83857F

Preview Lab

Preview with #A6F958

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

Preview Lab → · Contrast checker → · Palette generator →

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