#A8F378#A8F378

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

Color values

HEX#A8F378
RGBrgb(168, 243, 120)
HSLhsl(97, 84%, 71%)
HSVhsv(97, 51%, 95%)
CMYKcmyk(30.9%, 0%, 50.6%, 4.7%)
CIE-LABlab(88.82, -43.95, 51.62)
CIE-LCHlch(88.82, 67.79, 130.41°)
OKLaboklab(88.85% -0.1214 0.1233)
OKLCHoklch(88.85% 0.173 134.5)
XYZxyz(51.5881, 73.7802, 29.2886)
Luminance0.7378 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8F378 #C378F3
analogous
#E6F378 #A8F378 #78F385
triadic
#A8F378 #78A8F3 #F378A8
tetradic
#A8F378 #78E6F3 #C378F3 #F38578
square
#A8F378 #78E6F3 #C378F3 #F38578
split-complementary
#A8F378 #8578F3 #F378E6
monochromatic
#62DD14 #84EE40 #A8F378 #CCF8B0 #EDFDE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8F378#FFFFFF#000000##000000
##A8F3781.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)
#FBE36D
Deuteranopia (green-blind)
#F0DD80
Tritanopia (blue-blind)
#A8EBD7
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #a8f378;
/* rgb */ color: rgb(168, 243, 120);
/* oklch */ color: oklch(88.9% 0.173 134.5);
Tailwind
colors: {
  custom: {
    50: '#c5f7a1',
    500: '#a8f378',
    950: '#000000',
  },
}
SCSS
$custom: #a8f378;
$custom-light: #c5f7a1;
$custom-dark: #000000;
JSON
{
  "hex": "#a8f378",
  "rgb": {
    "r": 168,
    "g": 243,
    "b": 120
  },
  "hsl": {
    "h": 96.585,
    "s": 83.673,
    "l": 71.176
  },
  "oklch": {
    "l": 0.88853,
    "c": 0.17306,
    "h": 134.5
  },
  "luminance": 0.73782
}

Semantic roles & 50–950 ramp

primary
#A8F378
secondary
#9742CE
accent
#05E08B
background
#FDFFFC
surface
#F9FFF5
border
#D2D7CF
text
#13170F
muted
#828580

Preview Lab

Preview with #A8F378

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

Preview Lab → · Contrast checker → · Palette generator →

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