#8AF251#8AF251

#8AF251 is a very light, highly saturated yellow-green. Relative luminance 0.695; OKLCH L 86.7% C 0.218 H 136.5°. Best body text is #000000 at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#8AF251
RGBrgb(138, 242, 81)
HSLhsl(99, 86%, 63%)
HSVhsv(99, 67%, 95%)
CMYKcmyk(43%, 0%, 66.5%, 5.1%)
CIE-LABlab(86.75, -56.93, 65.60)
CIE-LCHlch(86.75, 86.86, 130.95°)
OKLaboklab(86.67% -0.1579 0.15)
OKLCHoklch(86.67% 0.218 136.5)
XYZxyz(43.7174, 69.4990, 18.8941)
Luminance0.6950 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AF251 #B951F2
analogous
#DAF251 #8AF251 #51F268
triadic
#8AF251 #518AF2 #F2518A
tetradic
#8AF251 #51DAF2 #B951F2 #F26851
square
#8AF251 #51DAF2 #B951F2 #F26851
split-complementary
#8AF251 #6851F2 #F251DA
monochromatic
#4BBB0E #64EE18 #8AF251 #B0F68A #D7FBC3

Accessibility & contrast

On white

1.41
#8AF251 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.90
#8AF251 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AF251
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AF251#FFFFFF#000000##000000
##8AF2511.001.4114.9014.90
#FFFFFF1.411.0021.0021.00
#00000014.9021.001.001.00
##00000014.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FADF3A
Deuteranopia (green-blind)
#ECD65F
Tritanopia (blue-blind)
#85E9D1
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #8af251;
/* rgb */ color: rgb(138, 242, 81);
/* oklch */ color: oklch(86.7% 0.218 136.5);
Tailwind
colors: {
  custom: {
    50: '#b3f789',
    500: '#8af251',
    950: '#000000',
  },
}
SCSS
$custom: #8af251;
$custom-light: #b3f789;
$custom-dark: #000000;
JSON
{
  "hex": "#8af251",
  "rgb": {
    "r": 138,
    "g": 242,
    "b": 81
  },
  "hsl": {
    "h": 98.758,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.86668,
    "c": 0.21778,
    "h": 136.5
  },
  "luminance": 0.69502
}

Semantic roles & 50–950 ramp

primary
#8AF251
secondary
#882EB9
accent
#03E393
background
#FDFFFC
surface
#F8FFF4
border
#D1D7CE
text
#12170C
muted
#82857F

Preview Lab

Preview with #8AF251

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

Preview Lab → · Contrast checker → · Palette generator →

#8AF251 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva