#A5D852#A5D852

#A5D852 is a very light, vivid yellow-green. Relative luminance 0.577; OKLCH L 82.0% C 0.171 H 127.5°. Best body text is #000000 at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#A5D852
RGBrgb(165, 216, 82)
HSLhsl(83, 63%, 58%)
HSVhsv(83, 62%, 85%)
CMYKcmyk(23.6%, 0%, 62%, 15.3%)
CIE-LABlab(80.58, -36.69, 58.97)
CIE-LCHlch(80.58, 69.46, 121.89°)
OKLaboklab(82.01% -0.1041 0.1357)
OKLCHoklch(82.01% 0.171 127.5)
XYZxyz(41.5959, 57.7195, 16.9305)
Luminance0.5772 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5D852 #8552D8
analogous
#D8C852 #A5D852 #62D852
triadic
#A5D852 #52A5D8 #D852A5
tetradic
#A5D852 #52D8C8 #8552D8 #D85262
square
#A5D852 #52D8C8 #8552D8 #D85262
split-complementary
#A5D852 #5262D8 #C852D8
monochromatic
#658F20 #88C12C #A5D852 #BFE384 #D9EFB6

Accessibility & contrast

On white

1.67
#A5D852 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.54
#A5D852 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5D852
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5D852#FFFFFF#000000##000000
##A5D8521.001.6712.5412.54
#FFFFFF1.671.0021.0021.00
#00000012.5421.001.001.00
##00000012.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA42
Deuteranopia (green-blind)
#DBC75C
Tritanopia (blue-blind)
#ABCFBC
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #a5d852;
/* rgb */ color: rgb(165, 216, 82);
/* oklch */ color: oklch(82.0% 0.171 127.5);
Tailwind
colors: {
  custom: {
    50: '#c3e488',
    500: '#a5d852',
    950: '#000000',
  },
}
SCSS
$custom: #a5d852;
$custom-light: #c3e488;
$custom-dark: #000000;
JSON
{
  "hex": "#a5d852",
  "rgb": {
    "r": 165,
    "g": 216,
    "b": 82
  },
  "hsl": {
    "h": 82.836,
    "s": 63.208,
    "l": 58.431
  },
  "oklch": {
    "l": 0.82008,
    "c": 0.17106,
    "h": 127.5
  },
  "luminance": 0.5772
}

Semantic roles & 50–950 ramp

primary
#A5D852
secondary
#5C3995
accent
#42E680
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#13150C
muted
#82847F

Preview Lab

Preview with #A5D852

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

Preview Lab → · Contrast checker → · Palette generator →

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