#A5D54D#A5D54D

#A5D54D is a light, vivid yellow-green. Relative luminance 0.561; OKLCH L 81.3% C 0.171 H 126.5°. Best body text is #000000 at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#A5D54D
RGBrgb(165, 213, 77)
HSLhsl(81, 62%, 57%)
HSVhsv(81, 64%, 84%)
CMYKcmyk(22.5%, 0%, 63.8%, 16.5%)
CIE-LABlab(79.68, -35.71, 60.07)
CIE-LCHlch(79.68, 69.89, 120.73°)
OKLaboklab(81.27% -0.1018 0.1374)
OKLCHoklch(81.27% 0.171 126.5)
XYZxyz(40.6509, 56.1230, 15.7109)
Luminance0.5612 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5D54D #7D4DD5
analogous
#D5C14D #A5D54D #61D54D
triadic
#A5D54D #4DA5D5 #D54DA5
tetradic
#A5D54D #4DD5C1 #7D4DD5 #D54D61
square
#A5D54D #4DD5C1 #7D4DD5 #D54D61
split-complementary
#A5D54D #4D61D5 #C14DD5
monochromatic
#638820 #87B92C #A5D54D #BEE17F #D7ECB0

Accessibility & contrast

On white

1.72
#A5D54D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.22
#A5D54D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5D54D
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5D54D#FFFFFF#000000##000000
##A5D54D1.001.7212.2212.22
#FFFFFF1.721.0021.0021.00
#00000012.2221.001.001.00
##00000012.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C73C
Deuteranopia (green-blind)
#D9C557
Tritanopia (blue-blind)
#ABCCB9
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #a5d54d;
/* rgb */ color: rgb(165, 213, 77);
/* oklch */ color: oklch(81.3% 0.171 126.5);
Tailwind
colors: {
  custom: {
    50: '#c3e285',
    500: '#a5d54d',
    950: '#000000',
  },
}
SCSS
$custom: #a5d54d;
$custom-light: #c3e285;
$custom-dark: #000000;
JSON
{
  "hex": "#a5d54d",
  "rgb": {
    "r": 165,
    "g": 213,
    "b": 77
  },
  "hsl": {
    "h": 81.176,
    "s": 61.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.81267,
    "c": 0.17105,
    "h": 126.5
  },
  "luminance": 0.56124
}

Semantic roles & 50–950 ramp

primary
#A5D54D
secondary
#56388E
accent
#43E57C
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150B
muted
#82847E

Preview Lab

Preview with #A5D54D

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

Preview Lab → · Contrast checker → · Palette generator →

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