#A8D478#A8D478

#A8D478 is a light, vivid yellow-green. Relative luminance 0.568; OKLCH L 81.8% C 0.129 H 129.7°. Best body text is #000000 at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#A8D478
RGBrgb(168, 212, 120)
HSLhsl(89, 52%, 65%)
HSVhsv(89, 43%, 83%)
CMYKcmyk(20.8%, 0%, 43.4%, 16.9%)
CIE-LABlab(80.05, -29.92, 40.80)
CIE-LCHlch(80.05, 50.60, 126.25°)
OKLaboklab(81.76% -0.0825 0.0992)
OKLCHoklch(81.76% 0.129 129.7)
XYZxyz(43.0816, 56.7671, 26.4530)
Luminance0.5677 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8D478 #A478D4
analogous
#D4D278 #A8D478 #7AD478
triadic
#A8D478 #78A8D4 #D478A8
tetradic
#A8D478 #78D4D2 #A478D4 #D4787A
square
#A8D478 #78D4D2 #A478D4 #D4787A
split-complementary
#A8D478 #787AD4 #D278D4
monochromatic
#6B9F33 #8AC54A #A8D478 #C6E3A6 #E4F2D5

Accessibility & contrast

On white

1.70
#A8D478 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.35
#A8D478 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8D478
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8D478#FFFFFF#000000##000000
##A8D4781.001.7012.3512.35
#FFFFFF1.701.0021.0021.00
#00000012.3521.001.001.00
##00000012.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC971
Deuteranopia (green-blind)
#D5C57D
Tritanopia (blue-blind)
#ABCDBE
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #a8d478;
/* rgb */ color: rgb(168, 212, 120);
/* oklch */ color: oklch(81.8% 0.129 129.7);
Tailwind
colors: {
  custom: {
    50: '#c3e1a0',
    500: '#a8d478',
    950: '#000000',
  },
}
SCSS
$custom: #a8d478;
$custom-light: #c3e1a0;
$custom-dark: #000000;
JSON
{
  "hex": "#a8d478",
  "rgb": {
    "r": 168,
    "g": 212,
    "b": 120
  },
  "hsl": {
    "h": 88.696,
    "s": 51.685,
    "l": 65.098
  },
  "oklch": {
    "l": 0.81759,
    "c": 0.12905,
    "h": 129.7
  },
  "luminance": 0.56768
}

Semantic roles & 50–950 ramp

primary
#A8D478
secondary
#764DA4
accent
#26BF6F
background
#FDFEFC
surface
#F9FCF5
border
#D2D5CF
text
#13150F
muted
#828480

Preview Lab

Preview with #A8D478

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

Preview Lab → · Contrast checker → · Palette generator →

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