#A5D562#A5D562

#A5D562 is a light, vivid yellow-green. Relative luminance 0.565; OKLCH L 81.5% C 0.154 H 128.2°. Best body text is #000000 at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#A5D562
RGBrgb(165, 213, 98)
HSLhsl(85, 58%, 61%)
HSVhsv(85, 54%, 84%)
CMYKcmyk(22.5%, 0%, 54%, 16.5%)
CIE-LABlab(79.88, -33.91, 51.12)
CIE-LCHlch(79.88, 61.34, 123.56°)
OKLaboklab(81.49% -0.095 0.1206)
OKLCHoklch(81.49% 0.154 128.2)
XYZxyz(41.5157, 56.4689, 20.2652)
Luminance0.5647 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5D562 #9262D5
analogous
#D5CB62 #A5D562 #6BD562
triadic
#A5D562 #62A5D5 #D562A5
tetradic
#A5D562 #62D5CB #9262D5 #D5626B
square
#A5D562 #62D5CB #9262D5 #D5626B
split-complementary
#A5D562 #626BD5 #CB62D5
monochromatic
#679528 #89C535 #A5D562 #C1E292 #DCEFC3

Accessibility & contrast

On white

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

On black

12.29
#A5D562 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5D562
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5D562#FFFFFF#000000##000000
##A5D5621.001.7112.2912.29
#FFFFFF1.711.0021.0021.00
#00000012.2921.001.001.00
##00000012.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC857
Deuteranopia (green-blind)
#D7C569
Tritanopia (blue-blind)
#AACDBB
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #a5d562;
/* rgb */ color: rgb(165, 213, 98);
/* oklch */ color: oklch(81.5% 0.154 128.2);
Tailwind
colors: {
  custom: {
    50: '#c2e292',
    500: '#a5d562',
    950: '#000000',
  },
}
SCSS
$custom: #a5d562;
$custom-light: #c2e292;
$custom-dark: #000000;
JSON
{
  "hex": "#a5d562",
  "rgb": {
    "r": 165,
    "g": 213,
    "b": 98
  },
  "hsl": {
    "h": 85.043,
    "s": 57.789,
    "l": 60.98
  },
  "oklch": {
    "l": 0.81489,
    "c": 0.15353,
    "h": 128.2
  },
  "luminance": 0.5647
}

Semantic roles & 50–950 ramp

primary
#A5D562
secondary
#66419A
accent
#20C565
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#13150D
muted
#82847F

Preview Lab

Preview with #A5D562

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

Preview Lab → · Contrast checker → · Palette generator →

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