#A5D252#A5D252

#A5D252 is a light, vivid yellow-green. Relative luminance 0.547; OKLCH L 80.6% C 0.163 H 126.2°. Best body text is #000000 at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#A5D252
RGBrgb(165, 210, 82)
HSLhsl(81, 59%, 57%)
HSVhsv(81, 61%, 82%)
CMYKcmyk(21.4%, 0%, 61%, 17.6%)
CIE-LABlab(78.87, -33.95, 57.10)
CIE-LCHlch(78.87, 66.43, 120.74°)
OKLaboklab(80.62% -0.0965 0.1318)
OKLCHoklch(80.62% 0.163 126.2)
XYZxyz(40.0867, 54.7012, 16.4274)
Luminance0.5470 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5D252 #7F52D2
analogous
#D2BF52 #A5D252 #65D252
triadic
#A5D252 #52A5D2 #D252A5
tetradic
#A5D252 #52D2BF #7F52D2 #D25265
square
#A5D252 #52D2BF #7F52D2 #D25265
split-complementary
#A5D252 #5265D2 #BF52D2
monochromatic
#648723 #88B730 #A5D252 #BEDF83 #D8EBB3

Accessibility & contrast

On white

1.76
#A5D252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.94
#A5D252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5D252
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5D252#FFFFFF#000000##000000
##A5D2521.001.7611.9411.94
#FFFFFF1.761.0021.0021.00
#00000011.9421.001.001.00
##00000011.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC543
Deuteranopia (green-blind)
#D6C35B
Tritanopia (blue-blind)
#ABC9B7
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #a5d252;
/* rgb */ color: rgb(165, 210, 82);
/* oklch */ color: oklch(80.6% 0.163 126.2);
Tailwind
colors: {
  custom: {
    50: '#c3e088',
    500: '#a5d252',
    950: '#000000',
  },
}
SCSS
$custom: #a5d252;
$custom-light: #c3e088;
$custom-dark: #000000;
JSON
{
  "hex": "#a5d252",
  "rgb": {
    "r": 165,
    "g": 210,
    "b": 82
  },
  "hsl": {
    "h": 81.094,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.80621,
    "c": 0.16333,
    "h": 126.2
  },
  "luminance": 0.54702
}

Semantic roles & 50–950 ramp

primary
#A5D252
secondary
#583B8D
accent
#46E27D
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#13150C
muted
#82847F

Preview Lab

Preview with #A5D252

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

Preview Lab → · Contrast checker → · Palette generator →

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