#A8F371#A8F371

#A8F371 is a very light, vivid yellow-green. Relative luminance 0.736; OKLCH L 88.8% C 0.179 H 133.7°. Best body text is #000000 at 15.72:1 contrast (WCAG AA passes).

Color values

HEX#A8F371
RGBrgb(168, 243, 113)
HSLhsl(95, 84%, 70%)
HSVhsv(95, 53%, 95%)
CMYKcmyk(30.9%, 0%, 53.5%, 4.7%)
CIE-LABlab(88.74, -44.69, 54.73)
CIE-LCHlch(88.74, 70.66, 129.24°)
OKLaboklab(88.76% -0.1239 0.1296)
OKLCHoklch(88.76% 0.179 133.7)
XYZxyz(51.1787, 73.6164, 27.1325)
Luminance0.7362 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8F371 #BC71F3
analogous
#E9F371 #A8F371 #71F37B
triadic
#A8F371 #71A8F3 #F371A8
tetradic
#A8F371 #71E9F3 #BC71F3 #F37B71
square
#A8F371 #71E9F3 #BC71F3 #F37B71
split-complementary
#A8F371 #7B71F3 #F371E9
monochromatic
#66D712 #85EE39 #A8F371 #CBF8A9 #EDFDE2

Accessibility & contrast

On white

1.34
#A8F371 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.72
#A8F371 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8F371
15.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8F371#FFFFFF#000000##000000
##A8F3711.001.3415.7215.72
#FFFFFF1.341.0021.0021.00
#00000015.7221.001.001.00
##00000015.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE365
Deuteranopia (green-blind)
#F1DD7A
Tritanopia (blue-blind)
#A8EBD6
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #a8f371;
/* rgb */ color: rgb(168, 243, 113);
/* oklch */ color: oklch(88.8% 0.179 133.7);
Tailwind
colors: {
  custom: {
    50: '#c5f79d',
    500: '#a8f371',
    950: '#000000',
  },
}
SCSS
$custom: #a8f371;
$custom-light: #c5f79d;
$custom-dark: #000000;
JSON
{
  "hex": "#a8f371",
  "rgb": {
    "r": 168,
    "g": 243,
    "b": 113
  },
  "hsl": {
    "h": 94.615,
    "s": 84.416,
    "l": 69.804
  },
  "oklch": {
    "l": 0.88764,
    "c": 0.17934,
    "h": 133.7
  },
  "luminance": 0.73618
}

Semantic roles & 50–950 ramp

primary
#A8F371
secondary
#8F3BCD
accent
#05E184
background
#FDFFFC
surface
#F9FFF5
border
#D2D7CF
text
#13170E
muted
#82857F

Preview Lab

Preview with #A8F371

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

Preview Lab → · Contrast checker → · Palette generator →

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