#A5D474#A5D474

#A5D474 is a light, vivid yellow-green. Relative luminance 0.563; OKLCH L 81.5% C 0.135 H 130.3°. Best body text is #000000 at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#A5D474
RGBrgb(165, 212, 116)
HSLhsl(89, 53%, 64%)
HSVhsv(89, 45%, 83%)
CMYKcmyk(22.2%, 0%, 45.3%, 16.9%)
CIE-LABlab(79.81, -31.50, 42.44)
CIE-LCHlch(79.81, 52.85, 126.58°)
OKLaboklab(81.5% -0.087 0.1027)
OKLCHoklch(81.5% 0.135 130.3)
XYZxyz(42.2124, 56.3464, 25.1716)
Luminance0.5635 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5D474 #A374D4
analogous
#D4D374 #A5D474 #75D474
triadic
#A5D474 #74A5D4 #D474A5
tetradic
#A5D474 #74D4D3 #A374D4 #D47475
square
#A5D474 #74D4D3 #A374D4 #D47475
split-complementary
#A5D474 #7475D4 #D374D4
monochromatic
#689D31 #87C645 #A5D474 #C3E2A3 #E2F1D1

Accessibility & contrast

On white

1.71
#A5D474 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.27
#A5D474 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5D474
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5D474#FFFFFF#000000##000000
##A5D4741.001.7112.2712.27
#FFFFFF1.711.0021.0021.00
#00000012.2721.001.001.00
##00000012.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC86C
Deuteranopia (green-blind)
#D5C57A
Tritanopia (blue-blind)
#A8CDBD
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #a5d474;
/* rgb */ color: rgb(165, 212, 116);
/* oklch */ color: oklch(81.5% 0.135 130.3);
Tailwind
colors: {
  custom: {
    50: '#c1e19e',
    500: '#a5d474',
    950: '#000000',
  },
}
SCSS
$custom: #a5d474;
$custom-light: #c1e19e;
$custom-dark: #000000;
JSON
{
  "hex": "#a5d474",
  "rgb": {
    "r": 165,
    "g": 212,
    "b": 116
  },
  "hsl": {
    "h": 89.375,
    "s": 52.747,
    "l": 64.314
  },
  "oklch": {
    "l": 0.81502,
    "c": 0.13463,
    "h": 130.3
  },
  "luminance": 0.56347
}

Semantic roles & 50–950 ramp

primary
#A5D474
secondary
#754AA2
accent
#25C071
background
#FDFEFC
surface
#F9FCF5
border
#D2D5CF
text
#12150E
muted
#82847F

Preview Lab

Preview with #A5D474

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

Preview Lab → · Contrast checker → · Palette generator →

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