#A5D052#A5D052

#A5D052 is a light, vivid yellow-green. Relative luminance 0.537; OKLCH L 80.2% C 0.161 H 125.8°. Best body text is #000000 at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#A5D052
RGBrgb(165, 208, 82)
HSLhsl(80, 57%, 57%)
HSVhsv(80, 61%, 82%)
CMYKcmyk(20.7%, 0%, 60.6%, 18.4%)
CIE-LABlab(78.30, -33.03, 56.47)
CIE-LCHlch(78.30, 65.42, 120.32°)
OKLaboklab(80.16% -0.094 0.1304)
OKLCHoklch(80.16% 0.161 125.8)
XYZxyz(39.5960, 53.7198, 16.2639)
Luminance0.5372 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5D052 #7D52D0
analogous
#D0BC52 #A5D052 #66D052
triadic
#A5D052 #52A5D0 #D052A5
tetradic
#A5D052 #52D0BC #7D52D0 #D05266
square
#A5D052 #52D0BC #7D52D0 #D05266
split-complementary
#A5D052 #5266D0 #BC52D0
monochromatic
#638424 #87B431 #A5D052 #BEDD82 #D7EAB2

Accessibility & contrast

On white

1.79
#A5D052 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.74
#A5D052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5D052
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5D052#FFFFFF#000000##000000
##A5D0521.001.7911.7411.74
#FFFFFF1.791.0021.0021.00
#00000011.7421.001.001.00
##00000011.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC343
Deuteranopia (green-blind)
#D4C15B
Tritanopia (blue-blind)
#ABC7B5
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #a5d052;
/* rgb */ color: rgb(165, 208, 82);
/* oklch */ color: oklch(80.2% 0.161 125.8);
Tailwind
colors: {
  custom: {
    50: '#c2de87',
    500: '#a5d052',
    950: '#000000',
  },
}
SCSS
$custom: #a5d052;
$custom-light: #c2de87;
$custom-dark: #000000;
JSON
{
  "hex": "#a5d052",
  "rgb": {
    "r": 165,
    "g": 208,
    "b": 82
  },
  "hsl": {
    "h": 80.476,
    "s": 57.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.8016,
    "c": 0.16074,
    "h": 125.8
  },
  "luminance": 0.5372
}

Semantic roles & 50–950 ramp

primary
#A5D052
secondary
#563B8B
accent
#47E17C
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#13150C
muted
#82847F

Preview Lab

Preview with #A5D052

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

Preview Lab → · Contrast checker → · Palette generator →

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