#A5D151#A5D151

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

Color values

HEX#A5D151
RGBrgb(165, 209, 81)
HSLhsl(81, 58%, 57%)
HSVhsv(81, 61%, 82%)
CMYKcmyk(21.1%, 0%, 61.2%, 18%)
CIE-LABlab(78.57, -33.57, 57.20)
CIE-LCHlch(78.57, 66.32, 120.41°)
OKLaboklab(80.38% -0.0956 0.1319)
OKLCHoklch(80.38% 0.163 125.9)
XYZxyz(39.8028, 54.1938, 16.1465)
Luminance0.5419 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5D151 #7D51D1
analogous
#D1BD51 #A5D151 #65D151
triadic
#A5D151 #51A5D1 #D151A5
tetradic
#A5D151 #51D1BD #7D51D1 #D15165
square
#A5D151 #51D1BD #7D51D1 #D15165
split-complementary
#A5D151 #5165D1 #BD51D1
monochromatic
#638523 #87B530 #A5D151 #BEDE81 #D7EBB2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5D151#FFFFFF#000000##000000
##A5D1511.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)
#DBC442
Deuteranopia (green-blind)
#D5C25A
Tritanopia (blue-blind)
#ABC8B6
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #a5d151;
/* rgb */ color: rgb(165, 209, 81);
/* oklch */ color: oklch(80.4% 0.163 125.9);
Tailwind
colors: {
  custom: {
    50: '#c3df87',
    500: '#a5d151',
    950: '#000000',
  },
}
SCSS
$custom: #a5d151;
$custom-light: #c3df87;
$custom-dark: #000000;
JSON
{
  "hex": "#a5d151",
  "rgb": {
    "r": 165,
    "g": 209,
    "b": 81
  },
  "hsl": {
    "h": 80.625,
    "s": 58.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.80381,
    "c": 0.16285,
    "h": 125.9
  },
  "luminance": 0.54194
}

Semantic roles & 50–950 ramp

primary
#A5D151
secondary
#563B8B
accent
#46E17C
background
#FDFEFC
surface
#F9FCF3
border
#D2D5CD
text
#13150C
muted
#82847F

Preview Lab

Preview with #A5D151

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

Preview Lab → · Contrast checker → · Palette generator →

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