#A8D04A#A8D04A

#A8D04A is a light, vivid yellow-green. Relative luminance 0.539; OKLCH L 80.3% C 0.166 H 124.3°. Best body text is #000000 at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#A8D04A
RGBrgb(168, 208, 74)
HSLhsl(78, 59%, 55%)
HSVhsv(78, 64%, 82%)
CMYKcmyk(19.2%, 0%, 64.4%, 18.4%)
CIE-LABlab(78.42, -32.48, 60.00)
CIE-LCHlch(78.42, 68.23, 118.43°)
OKLaboklab(80.29% -0.0933 0.1369)
OKLCHoklch(80.29% 0.166 124.3)
XYZxyz(39.9406, 53.9307, 14.7827)
Luminance0.5393 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8D04A #724AD0
analogous
#D0B54A #A8D04A #65D04A
triadic
#A8D04A #4AA8D0 #D04AA8
tetradic
#A8D04A #4AD0B5 #724AD0 #D04A65
square
#A8D04A #4AD0B5 #724AD0 #D04A65
split-complementary
#A8D04A #4A65D0 #B54AD0
monochromatic
#637F21 #89AF2E #A8D04A #BFDD7B #D7E9AB

Accessibility & contrast

On white

1.78
#A8D04A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.79
#A8D04A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8D04A
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8D04A#FFFFFF#000000##000000
##A8D04A1.001.7811.7911.79
#FFFFFF1.781.0021.0021.00
#00000011.7921.001.001.00
##00000011.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC338
Deuteranopia (green-blind)
#D6C254
Tritanopia (blue-blind)
#AFC6B4
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #a8d04a;
/* rgb */ color: rgb(168, 208, 74);
/* oklch */ color: oklch(80.3% 0.166 124.3);
Tailwind
colors: {
  custom: {
    50: '#c5de83',
    500: '#a8d04a',
    950: '#000000',
  },
}
SCSS
$custom: #a8d04a;
$custom-light: #c5de83;
$custom-dark: #000000;
JSON
{
  "hex": "#a8d04a",
  "rgb": {
    "r": 168,
    "g": 208,
    "b": 74
  },
  "hsl": {
    "h": 77.91,
    "s": 58.772,
    "l": 55.294
  },
  "oklch": {
    "l": 0.80287,
    "c": 0.16566,
    "h": 124.3
  },
  "luminance": 0.53931
}

Semantic roles & 50–950 ramp

primary
#A8D04A
secondary
#4F3886
accent
#46E274
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150B
muted
#82847E

Preview Lab

Preview with #A8D04A

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

Preview Lab → · Contrast checker → · Palette generator →

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