#A8D74A#A8D74A

#A8D74A is a light, vivid yellow-green. Relative luminance 0.574; OKLCH L 81.9% C 0.174 H 125.9°. Best body text is #000000 at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#A8D74A
RGBrgb(168, 215, 74)
HSLhsl(80, 64%, 57%)
HSVhsv(80, 66%, 84%)
CMYKcmyk(21.9%, 0%, 65.6%, 15.7%)
CIE-LABlab(80.42, -35.70, 62.11)
CIE-LCHlch(80.42, 71.64, 119.89°)
OKLaboklab(81.9% -0.1022 0.1413)
OKLCHoklch(81.9% 0.174 125.9)
XYZxyz(41.6851, 57.4196, 15.3642)
Luminance0.5742 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8D74A #794AD7
analogous
#D7C04A #A8D74A #62D74A
triadic
#A8D74A #4AA8D7 #D74AA8
tetradic
#A8D74A #4AD7C0 #794AD7 #D74A62
square
#A8D74A #4AD7C0 #794AD7 #D74A62
split-complementary
#A8D74A #4A62D7 #C04AD7
monochromatic
#65881E #8ABB29 #A8D74A #C0E27C #D8EDAE

Accessibility & contrast

On white

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

On black

12.48
#A8D74A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8D74A
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8D74A#FFFFFF#000000##000000
##A8D74A1.001.6812.4812.48
#FFFFFF1.681.0021.0021.00
#00000012.4821.001.001.00
##00000012.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C937
Deuteranopia (green-blind)
#DCC755
Tritanopia (blue-blind)
#AFCDBA
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #a8d74a;
/* rgb */ color: rgb(168, 215, 74);
/* oklch */ color: oklch(81.9% 0.174 125.9);
Tailwind
colors: {
  custom: {
    50: '#c5e383',
    500: '#a8d74a',
    950: '#000000',
  },
}
SCSS
$custom: #a8d74a;
$custom-light: #c5e383;
$custom-dark: #000000;
JSON
{
  "hex": "#a8d74a",
  "rgb": {
    "r": 168,
    "g": 215,
    "b": 74
  },
  "hsl": {
    "h": 80,
    "s": 63.801,
    "l": 56.667
  },
  "oklch": {
    "l": 0.81899,
    "c": 0.1744,
    "h": 125.9
  },
  "luminance": 0.5742
}

Semantic roles & 50–950 ramp

primary
#A8D74A
secondary
#54378F
accent
#41E778
background
#FEFEFB
surface
#FAFCF2
border
#D3D5CC
text
#13150B
muted
#83847E

Preview Lab

Preview with #A8D74A

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

Preview Lab → · Contrast checker → · Palette generator →

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