#A5DC51#A5DC51

#A5DC51 is a very light, vivid yellow-green. Relative luminance 0.598; OKLCH L 82.9% C 0.177 H 128.2°. Best body text is #000000 at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#A5DC51
RGBrgb(165, 220, 81)
HSLhsl(84, 67%, 59%)
HSVhsv(84, 63%, 86%)
CMYKcmyk(25%, 0%, 63.2%, 13.7%)
CIE-LABlab(81.72, -38.57, 60.62)
CIE-LCHlch(81.72, 71.85, 122.47°)
OKLaboklab(82.93% -0.1094 0.1391)
OKLCHoklch(82.93% 0.177 128.2)
XYZxyz(42.5953, 59.7789, 17.0773)
Luminance0.5978 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5DC51 #8851DC
analogous
#DCCE51 #A5DC51 #60DC51
triadic
#A5DC51 #51A5DC #DC51A5
tetradic
#A5DC51 #51DCCE #8851DC #DC5160
square
#A5DC51 #51DCCE #8851DC #DC5160
split-complementary
#A5DC51 #5160DC #CE51DC
monochromatic
#66951E #89C828 #A5DC51 #BFE684 #DAF0B7

Accessibility & contrast

On white

1.62
#A5DC51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.96
#A5DC51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5DC51
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5DC51#FFFFFF#000000##000000
##A5DC511.001.6212.9612.96
#FFFFFF1.621.0021.0021.00
#00000012.9621.001.001.00
##00000012.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CE40
Deuteranopia (green-blind)
#DFCA5C
Tritanopia (blue-blind)
#AAD3BF
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #a5dc51;
/* rgb */ color: rgb(165, 220, 81);
/* oklch */ color: oklch(82.9% 0.177 128.2);
Tailwind
colors: {
  custom: {
    50: '#c3e788',
    500: '#a5dc51',
    950: '#000000',
  },
}
SCSS
$custom: #a5dc51;
$custom-light: #c3e788;
$custom-dark: #000000;
JSON
{
  "hex": "#a5dc51",
  "rgb": {
    "r": 165,
    "g": 220,
    "b": 81
  },
  "hsl": {
    "h": 83.741,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.82925,
    "c": 0.17695,
    "h": 128.2
  },
  "luminance": 0.5978
}

Semantic roles & 50–950 ramp

primary
#A5DC51
secondary
#5E3899
accent
#3EE982
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#13160C
muted
#82847F

Preview Lab

Preview with #A5DC51

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

Preview Lab → · Contrast checker → · Palette generator →

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