#8AF04F#8AF04F

#8AF04F is a very light, highly saturated yellow-green. Relative luminance 0.683; OKLCH L 86.2% C 0.217 H 136.2°. Best body text is #000000 at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#8AF04F
RGBrgb(138, 240, 79)
HSLhsl(98, 84%, 63%)
HSVhsv(98, 67%, 94%)
CMYKcmyk(42.5%, 0%, 67.1%, 5.9%)
CIE-LABlab(86.15, -56.31, 65.73)
CIE-LCHlch(86.15, 86.55, 130.58°)
OKLaboklab(86.17% -0.1564 0.15)
OKLCHoklch(86.17% 0.217 136.2)
XYZxyz(43.0515, 68.2855, 18.3076)
Luminance0.6829 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AF04F #B54FF0
analogous
#DBF04F #8AF04F #4FF064
triadic
#8AF04F #4F8AF0 #F04F8A
tetradic
#8AF04F #4FDBF0 #B54FF0 #F0644F
square
#8AF04F #4FDBF0 #B54FF0 #F0644F
split-complementary
#8AF04F #644FF0 #F04FDB
monochromatic
#4CB50F #65EB17 #8AF04F #AFF587 #D5FAC0

Accessibility & contrast

On white

1.43
#8AF04F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.66
#8AF04F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AF04F
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AF04F#FFFFFF#000000##000000
##8AF04F1.001.4314.6614.66
#FFFFFF1.431.0021.0021.00
#00000014.6621.001.001.00
##00000014.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DD38
Deuteranopia (green-blind)
#EAD45D
Tritanopia (blue-blind)
#86E7D0
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #8af04f;
/* rgb */ color: rgb(138, 240, 79);
/* oklch */ color: oklch(86.2% 0.217 136.2);
Tailwind
colors: {
  custom: {
    50: '#b3f588',
    500: '#8af04f',
    950: '#000000',
  },
}
SCSS
$custom: #8af04f;
$custom-light: #b3f588;
$custom-dark: #000000;
JSON
{
  "hex": "#8af04f",
  "rgb": {
    "r": 138,
    "g": 240,
    "b": 79
  },
  "hsl": {
    "h": 98.012,
    "s": 84.293,
    "l": 62.549
  },
  "oklch": {
    "l": 0.8617,
    "c": 0.21668,
    "h": 136.2
  },
  "luminance": 0.68288
}

Semantic roles & 50–950 ramp

primary
#8AF04F
secondary
#842FB5
accent
#05E190
background
#FDFFFC
surface
#F8FEF4
border
#D1D6CE
text
#12170C
muted
#82857F

Preview Lab

Preview with #8AF04F

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

Preview Lab → · Contrast checker → · Palette generator →

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