#A5D751#A5D751

#A5D751 is a light, vivid yellow-green. Relative luminance 0.572; OKLCH L 81.8% C 0.171 H 127.2°. Best body text is #000000 at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#A5D751
RGBrgb(165, 215, 81)
HSLhsl(82, 63%, 58%)
HSVhsv(82, 62%, 84%)
CMYKcmyk(23.3%, 0%, 62.3%, 15.7%)
CIE-LABlab(80.29, -36.32, 59.07)
CIE-LCHlch(80.29, 69.34, 121.58°)
OKLaboklab(81.77% -0.1031 0.1358)
OKLCHoklch(81.77% 0.171 127.2)
XYZxyz(41.3027, 57.1936, 16.6464)
Luminance0.5719 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5D751 #8351D7
analogous
#D7C651 #A5D751 #62D751
triadic
#A5D751 #51A5D7 #D751A5
tetradic
#A5D751 #51D7C6 #8351D7 #D75162
square
#A5D751 #51D7C6 #8351D7 #D75162
split-complementary
#A5D751 #5162D7 #C651D7
monochromatic
#658D20 #88BF2C #A5D751 #BFE283 #D8EEB5

Accessibility & contrast

On white

1.69
#A5D751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.44
#A5D751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5D751
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5D751#FFFFFF#000000##000000
##A5D7511.001.6912.4412.44
#FFFFFF1.691.0021.0021.00
#00000012.4421.001.001.00
##00000012.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C941
Deuteranopia (green-blind)
#DAC65B
Tritanopia (blue-blind)
#ABCEBB
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #a5d751;
/* rgb */ color: rgb(165, 215, 81);
/* oklch */ color: oklch(81.8% 0.171 127.2);
Tailwind
colors: {
  custom: {
    50: '#c3e387',
    500: '#a5d751',
    950: '#000000',
  },
}
SCSS
$custom: #a5d751;
$custom-light: #c3e387;
$custom-dark: #000000;
JSON
{
  "hex": "#a5d751",
  "rgb": {
    "r": 165,
    "g": 215,
    "b": 81
  },
  "hsl": {
    "h": 82.388,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.81767,
    "c": 0.17056,
    "h": 127.2
  },
  "luminance": 0.57194
}

Semantic roles & 50–950 ramp

primary
#A5D751
secondary
#5B3993
accent
#42E67F
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#13150C
muted
#82847F

Preview Lab

Preview with #A5D751

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

Preview Lab → · Contrast checker → · Palette generator →

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