#A5D42D#A5D42D

#A5D42D is a light, vivid yellow-green. Relative luminance 0.553; OKLCH L 80.8% C 0.189 H 124.9°. Best body text is #000000 at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#A5D42D
RGBrgb(165, 212, 45)
HSLhsl(77, 66%, 50%)
HSVhsv(77, 79%, 83%)
CMYKcmyk(22.2%, 0%, 78.8%, 16.9%)
CIE-LABlab(79.20, -37.11, 70.80)
CIE-LCHlch(79.20, 79.93, 117.66°)
OKLaboklab(80.81% -0.1082 0.1552)
OKLCHoklch(80.81% 0.189 124.9)
XYZxyz(39.5346, 55.2753, 11.0685)
Luminance0.5528 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5D42D #5C2DD4
analogous
#D4AF2D #A5D42D #52D42D
triadic
#A5D42D #2DA5D4 #D42DA5
tetradic
#A5D42D #2DD4AF #5C2DD4 #D42D52
square
#A5D42D #2DD4AF #5C2DD4 #D42D52
split-complementary
#A5D42D #2D52D4 #AF2DD4
monochromatic
#577017 #7EA321 #A5D42D #BBDE60 #D1E993

Accessibility & contrast

On white

1.74
#A5D42D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.06
#A5D42D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5D42D
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5D42D#FFFFFF#000000##000000
##A5D42D1.001.7412.0612.06
#FFFFFF1.741.0021.0021.00
#00000012.0621.001.001.00
##00000012.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C600
Deuteranopia (green-blind)
#DAC43F
Tritanopia (blue-blind)
#ADC9B6
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #a5d42d;
/* rgb */ color: rgb(165, 212, 45);
/* oklch */ color: oklch(80.8% 0.189 124.9);
Tailwind
colors: {
  custom: {
    50: '#c4e175',
    500: '#a5d42d',
    950: '#000000',
  },
}
SCSS
$custom: #a5d42d;
$custom-light: #c4e175;
$custom-dark: #000000;
JSON
{
  "hex": "#a5d42d",
  "rgb": {
    "r": 165,
    "g": 212,
    "b": 45
  },
  "hsl": {
    "h": 76.886,
    "s": 66.008,
    "l": 50.392
  },
  "oklch": {
    "l": 0.80812,
    "c": 0.18924,
    "h": 124.9
  },
  "luminance": 0.55276
}

Semantic roles & 50–950 ramp

primary
#A5D42D
secondary
#422C79
accent
#3FE96F
background
#FEFEFB
surface
#FAFCF1
border
#D3D5CB
text
#131509
muted
#83847D

Preview Lab

Preview with #A5D42D

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

Preview Lab → · Contrast checker → · Palette generator →

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