#A8F379#A8F379

#A8F379 is a very light, vivid yellow-green. Relative luminance 0.738; OKLCH L 88.9% C 0.172 H 134.7°. Best body text is #000000 at 15.76:1 contrast (WCAG AA passes).

Color values

HEX#A8F379
RGBrgb(168, 243, 121)
HSLhsl(97, 84%, 71%)
HSVhsv(97, 50%, 95%)
CMYKcmyk(30.9%, 0%, 50.2%, 4.7%)
CIE-LABlab(88.83, -43.84, 51.17)
CIE-LCHlch(88.83, 67.38, 130.59°)
OKLaboklab(88.87% -0.121 0.1224)
OKLCHoklch(88.87% 0.172 134.7)
XYZxyz(51.6491, 73.8046, 29.6099)
Luminance0.7381 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8F379 #C479F3
analogous
#E5F379 #A8F379 #79F387
triadic
#A8F379 #79A8F3 #F379A8
tetradic
#A8F379 #79E5F3 #C479F3 #F38779
square
#A8F379 #79E5F3 #C479F3 #F38779
split-complementary
#A8F379 #8779F3 #F379E5
monochromatic
#62DE14 #84EE41 #A8F379 #CCF8B1 #EDFCE3

Accessibility & contrast

On white

1.33
#A8F379 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.76
#A8F379 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8F379
15.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8F379#FFFFFF#000000##000000
##A8F3791.001.3315.7615.76
#FFFFFF1.331.0021.0021.00
#00000015.7621.001.001.00
##00000015.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE36E
Deuteranopia (green-blind)
#F0DD81
Tritanopia (blue-blind)
#A7EBD7
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #a8f379;
/* rgb */ color: rgb(168, 243, 121);
/* oklch */ color: oklch(88.9% 0.172 134.7);
Tailwind
colors: {
  custom: {
    50: '#c5f7a2',
    500: '#a8f379',
    950: '#000000',
  },
}
SCSS
$custom: #a8f379;
$custom-light: #c5f7a2;
$custom-dark: #000000;
JSON
{
  "hex": "#a8f379",
  "rgb": {
    "r": 168,
    "g": 243,
    "b": 121
  },
  "hsl": {
    "h": 96.885,
    "s": 83.562,
    "l": 71.373
  },
  "oklch": {
    "l": 0.88866,
    "c": 0.17214,
    "h": 134.7
  },
  "luminance": 0.73806
}

Semantic roles & 50–950 ramp

primary
#A8F379
secondary
#9843CE
accent
#06E08C
background
#FDFFFC
surface
#F9FFF6
border
#D2D7D0
text
#13170F
muted
#828580

Preview Lab

Preview with #A8F379

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

Preview Lab → · Contrast checker → · Palette generator →

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