#A8F958#A8F958

#A8F958 is a very light, highly saturated yellow-green. Relative luminance 0.768; OKLCH L 89.9% C 0.207 H 132.2°. Best body text is #000000 at 16.36:1 contrast (WCAG AA passes).

Color values

HEX#A8F958
RGBrgb(168, 249, 88)
HSLhsl(90, 93%, 66%)
HSVhsv(90, 65%, 98%)
CMYKcmyk(32.5%, 0%, 64.7%, 2.4%)
CIE-LABlab(90.22, -49.47, 67.00)
CIE-LCHlch(90.22, 83.28, 126.44°)
OKLaboklab(89.89% -0.1389 0.1534)
OKLCHoklch(89.89% 0.207 132.2)
XYZxyz(51.7849, 76.7789, 21.3220)
Luminance0.7678 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8F958 #A958F9
analogous
#F9F958 #A8F958 #58F958
triadic
#A8F958 #58A8F9 #F958A8
tetradic
#A8F958 #58F9F9 #A958F9 #F95858
square
#A8F958 #58F9F9 #A958F9 #F95858
split-complementary
#A8F958 #5858F9 #F958F9
monochromatic
#6BCF07 #89F71D #A8F958 #C7FB93 #E6FDCE

Accessibility & contrast

On white

1.28
#A8F958 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.36
#A8F958 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8F958
16.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8F958#FFFFFF#000000##000000
##A8F9581.001.2816.3616.36
#FFFFFF1.281.0021.0021.00
#00000016.3621.001.001.00
##00000016.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8f958;
/* rgb */ color: rgb(168, 249, 88);
/* oklch */ color: oklch(89.9% 0.207 132.2);
Tailwind
colors: {
  custom: {
    50: '#c7fb8e',
    500: '#a8f958',
    950: '#000000',
  },
}
SCSS
$custom: #a8f958;
$custom-light: #c7fb8e;
$custom-dark: #000000;
JSON
{
  "hex": "#a8f958",
  "rgb": {
    "r": 168,
    "g": 249,
    "b": 88
  },
  "hsl": {
    "h": 90.186,
    "s": 93.064,
    "l": 66.078
  },
  "oklch": {
    "l": 0.89894,
    "c": 0.2069,
    "h": 132.2
  },
  "luminance": 0.76781
}

Semantic roles & 50–950 ramp

primary
#A8F958
secondary
#7B2BCA
accent
#00E673
background
#FEFFFC
surface
#FBFFF4
border
#D4D7CE
text
#13170D
muted
#83857F

Preview Lab

Preview with #A8F958

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

Preview Lab → · Contrast checker → · Palette generator →

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