#A5D351#A5D351

#A5D351 is a light, vivid yellow-green. Relative luminance 0.552; OKLCH L 80.8% C 0.165 H 126.4°. Best body text is #000000 at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#A5D351
RGBrgb(165, 211, 81)
HSLhsl(81, 60%, 57%)
HSVhsv(81, 62%, 83%)
CMYKcmyk(21.8%, 0%, 61.6%, 17.3%)
CIE-LABlab(79.15, -34.49, 57.82)
CIE-LCHlch(79.15, 67.33, 120.82°)
OKLaboklab(80.84% -0.0981 0.1332)
OKLCHoklch(80.84% 0.165 126.4)
XYZxyz(40.2966, 55.1814, 16.3111)
Luminance0.5518 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5D351 #7F51D3
analogous
#D3C051 #A5D351 #64D351
triadic
#A5D351 #51A5D3 #D351A5
tetradic
#A5D351 #51D3C0 #7F51D3 #D35164
square
#A5D351 #51D3C0 #7F51D3 #D35164
split-complementary
#A5D351 #5164D3 #C051D3
monochromatic
#648722 #88B82F #A5D351 #BEDF82 #D8ECB3

Accessibility & contrast

On white

1.74
#A5D351 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.04
#A5D351 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5D351
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5D351#FFFFFF#000000##000000
##A5D3511.001.7412.0412.04
#FFFFFF1.741.0021.0021.00
#00000012.0421.001.001.00
##00000012.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC642
Deuteranopia (green-blind)
#D7C35A
Tritanopia (blue-blind)
#ABCAB8
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #a5d351;
/* rgb */ color: rgb(165, 211, 81);
/* oklch */ color: oklch(80.8% 0.165 126.4);
Tailwind
colors: {
  custom: {
    50: '#c3e087',
    500: '#a5d351',
    950: '#000000',
  },
}
SCSS
$custom: #a5d351;
$custom-light: #c3e087;
$custom-dark: #000000;
JSON
{
  "hex": "#a5d351",
  "rgb": {
    "r": 165,
    "g": 211,
    "b": 81
  },
  "hsl": {
    "h": 81.231,
    "s": 59.633,
    "l": 57.255
  },
  "oklch": {
    "l": 0.80842,
    "c": 0.16542,
    "h": 126.4
  },
  "luminance": 0.55182
}

Semantic roles & 50–950 ramp

primary
#A5D351
secondary
#583A8E
accent
#45E37D
background
#FDFEFC
surface
#F9FCF3
border
#D2D5CD
text
#13150C
muted
#82847F

Preview Lab

Preview with #A5D351

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

Preview Lab → · Contrast checker → · Palette generator →

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