#A8F158#A8F158

#A8F158 is a very light, vivid yellow-green. Relative luminance 0.719; OKLCH L 88.0% C 0.197 H 131.2°. Best body text is #000000 at 15.39:1 contrast (WCAG AA passes).

Color values

HEX#A8F158
RGBrgb(168, 241, 88)
HSLhsl(89, 85%, 65%)
HSVhsv(89, 63%, 95%)
CMYKcmyk(30.3%, 0%, 63.5%, 5.5%)
CIE-LABlab(87.94, -46.10, 64.55)
CIE-LCHlch(87.94, 79.32, 125.54°)
OKLaboklab(88.04% -0.1297 0.1482)
OKLCHoklch(88.04% 0.197 131.2)
XYZxyz(49.3647, 71.9384, 20.5152)
Luminance0.7194 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8F158 #A158F1
analogous
#F1ED58 #A8F158 #5CF158
triadic
#A8F158 #58A8F1 #F158A8
tetradic
#A8F158 #58F1ED #A158F1 #F1585C
square
#A8F158 #58F1ED #A158F1 #F1585C
split-complementary
#A8F158 #585CF1 #ED58F1
monochromatic
#6BBF10 #8BEC20 #A8F158 #C5F690 #E3FAC9

Accessibility & contrast

On white

1.36
#A8F158 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.39
#A8F158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8F158
15.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8F158#FFFFFF#000000##000000
##A8F1581.001.3615.3915.39
#FFFFFF1.361.0021.0021.00
#00000015.3921.001.001.00
##00000015.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE045
Deuteranopia (green-blind)
#F1DB64
Tritanopia (blue-blind)
#ABE7D1
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #a8f158;
/* rgb */ color: rgb(168, 241, 88);
/* oklch */ color: oklch(88.0% 0.197 131.2);
Tailwind
colors: {
  custom: {
    50: '#c6f68d',
    500: '#a8f158',
    950: '#000000',
  },
}
SCSS
$custom: #a8f158;
$custom-light: #c6f68d;
$custom-dark: #000000;
JSON
{
  "hex": "#a8f158",
  "rgb": {
    "r": 168,
    "g": 241,
    "b": 88
  },
  "hsl": {
    "h": 88.627,
    "s": 84.53,
    "l": 64.51
  },
  "oklch": {
    "l": 0.88038,
    "c": 0.19691,
    "h": 131.2
  },
  "luminance": 0.7194
}

Semantic roles & 50–950 ramp

primary
#A8F158
secondary
#7330BD
accent
#05E16E
background
#FEFFFC
surface
#FAFEF4
border
#D3D6CE
text
#13170D
muted
#83857F

Preview Lab

Preview with #A8F158

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

Preview Lab → · Contrast checker → · Palette generator →

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