#A5D152#A5D152

#A5D152 is a light, vivid yellow-green. Relative luminance 0.542; OKLCH L 80.4% C 0.162 H 126.0°. Best body text is #000000 at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#A5D152
RGBrgb(165, 209, 82)
HSLhsl(81, 58%, 57%)
HSVhsv(81, 61%, 82%)
CMYKcmyk(21.1%, 0%, 60.8%, 18%)
CIE-LABlab(78.58, -33.49, 56.78)
CIE-LCHlch(78.58, 65.92, 120.53°)
OKLaboklab(80.39% -0.0952 0.1311)
OKLCHoklch(80.39% 0.162 126)
XYZxyz(39.8406, 54.2089, 16.3454)
Luminance0.5421 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5D152 #7E52D1
analogous
#D1BD52 #A5D152 #66D152
triadic
#A5D152 #52A5D1 #D152A5
tetradic
#A5D152 #52D1BD #7E52D1 #D15266
square
#A5D152 #52D1BD #7E52D1 #D15266
split-complementary
#A5D152 #5266D1 #BD52D1
monochromatic
#638523 #87B630 #A5D152 #BEDE82 #D7EBB3

Accessibility & contrast

On white

1.77
#A5D152 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.84
#A5D152 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5D152
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5D152#FFFFFF#000000##000000
##A5D1521.001.7711.8411.84
#FFFFFF1.771.0021.0021.00
#00000011.8421.001.001.00
##00000011.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC443
Deuteranopia (green-blind)
#D5C25B
Tritanopia (blue-blind)
#ABC8B6
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #a5d152;
/* rgb */ color: rgb(165, 209, 82);
/* oklch */ color: oklch(80.4% 0.162 126.0);
Tailwind
colors: {
  custom: {
    50: '#c3df88',
    500: '#a5d152',
    950: '#000000',
  },
}
SCSS
$custom: #a5d152;
$custom-light: #c3df88;
$custom-dark: #000000;
JSON
{
  "hex": "#a5d152",
  "rgb": {
    "r": 165,
    "g": 209,
    "b": 82
  },
  "hsl": {
    "h": 80.787,
    "s": 57.991,
    "l": 57.059
  },
  "oklch": {
    "l": 0.8039,
    "c": 0.16204,
    "h": 126
  },
  "luminance": 0.54209
}

Semantic roles & 50–950 ramp

primary
#A5D152
secondary
#573B8C
accent
#47E17C
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#13150C
muted
#82847F

Preview Lab

Preview with #A5D152

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

Preview Lab → · Contrast checker → · Palette generator →

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