#A8D74E#A8D74E

#A8D74E is a light, vivid yellow-green. Relative luminance 0.575; OKLCH L 81.9% C 0.171 H 126.1°. Best body text is #000000 at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#A8D74E
RGBrgb(168, 215, 78)
HSLhsl(81, 63%, 57%)
HSVhsv(81, 64%, 84%)
CMYKcmyk(21.9%, 0%, 63.7%, 15.7%)
CIE-LABlab(80.45, -35.41, 60.53)
CIE-LCHlch(80.45, 70.13, 120.33°)
OKLaboklab(81.93% -0.1011 0.1385)
OKLCHoklch(81.93% 0.171 126.1)
XYZxyz(41.8241, 57.4752, 16.0966)
Luminance0.5748 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8D74E #7D4ED7
analogous
#D7C24E #A8D74E #63D74E
triadic
#A8D74E #4EA8D7 #D74EA8
tetradic
#A8D74E #4ED7C2 #7D4ED7 #D74E63
square
#A8D74E #4ED7C2 #7D4ED7 #D74E63
split-complementary
#A8D74E #4E63D7 #C24ED7
monochromatic
#668B1F #8BBD2B #A8D74E #C1E280 #D9EEB2

Accessibility & contrast

On white

1.68
#A8D74E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.50
#A8D74E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8D74E
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8D74E#FFFFFF#000000##000000
##A8D74E1.001.6812.5012.50
#FFFFFF1.681.0021.0021.00
#00000012.5021.001.001.00
##00000012.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C93D
Deuteranopia (green-blind)
#DBC758
Tritanopia (blue-blind)
#AECDBB
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #a8d74e;
/* rgb */ color: rgb(168, 215, 78);
/* oklch */ color: oklch(81.9% 0.171 126.1);
Tailwind
colors: {
  custom: {
    50: '#c5e386',
    500: '#a8d74e',
    950: '#000000',
  },
}
SCSS
$custom: #a8d74e;
$custom-light: #c5e386;
$custom-dark: #000000;
JSON
{
  "hex": "#a8d74e",
  "rgb": {
    "r": 168,
    "g": 215,
    "b": 78
  },
  "hsl": {
    "h": 80.584,
    "s": 63.134,
    "l": 57.451
  },
  "oklch": {
    "l": 0.81934,
    "c": 0.17147,
    "h": 126.1
  },
  "luminance": 0.57476
}

Semantic roles & 50–950 ramp

primary
#A8D74E
secondary
#573891
accent
#42E67A
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150B
muted
#82847E

Preview Lab

Preview with #A8D74E

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

Preview Lab → · Contrast checker → · Palette generator →

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