#A5D456#A5D456

#A5D456 is a light, vivid yellow-green. Relative luminance 0.558; OKLCH L 81.1% C 0.163 H 127.0°. Best body text is #000000 at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#A5D456
RGBrgb(165, 212, 86)
HSLhsl(82, 59%, 58%)
HSVhsv(82, 59%, 83%)
CMYKcmyk(22.2%, 0%, 59.4%, 16.9%)
CIE-LABlab(79.48, -34.54, 56.04)
CIE-LCHlch(79.48, 65.83, 121.65°)
OKLaboklab(81.12% -0.0978 0.13)
OKLCHoklch(81.12% 0.163 127)
XYZxyz(40.7402, 55.7575, 17.4182)
Luminance0.5576 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5D456 #8556D4
analogous
#D4C456 #A5D456 #66D456
triadic
#A5D456 #56A5D4 #D456A5
tetradic
#A5D456 #56D4C4 #8556D4 #D45666
square
#A5D456 #56D4C4 #8556D4 #D45666
split-complementary
#A5D456 #5666D4 #C456D4
monochromatic
#658C24 #88BD30 #A5D456 #BFE087 #D9EDB8

Accessibility & contrast

On white

1.73
#A5D456 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.15
#A5D456 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5D456
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5D456#FFFFFF#000000##000000
##A5D4561.001.7312.1512.15
#FFFFFF1.731.0021.0021.00
#00000012.1521.001.001.00
##00000012.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC748
Deuteranopia (green-blind)
#D8C45F
Tritanopia (blue-blind)
#ABCBB9
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #a5d456;
/* rgb */ color: rgb(165, 212, 86);
/* oklch */ color: oklch(81.1% 0.163 127.0);
Tailwind
colors: {
  custom: {
    50: '#c2e18a',
    500: '#a5d456',
    950: '#000000',
  },
}
SCSS
$custom: #a5d456;
$custom-light: #c2e18a;
$custom-dark: #000000;
JSON
{
  "hex": "#a5d456",
  "rgb": {
    "r": 165,
    "g": 212,
    "b": 86
  },
  "hsl": {
    "h": 82.381,
    "s": 59.434,
    "l": 58.431
  },
  "oklch": {
    "l": 0.81123,
    "c": 0.16266,
    "h": 127
  },
  "luminance": 0.55758
}

Semantic roles & 50–950 ramp

primary
#A5D456
secondary
#5C3C92
accent
#45E380
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#13150C
muted
#82847F

Preview Lab

Preview with #A5D456

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

Preview Lab → · Contrast checker → · Palette generator →

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