#A5D451#A5D451

#A5D451 is a light, vivid yellow-green. Relative luminance 0.557; OKLCH L 81.1% C 0.167 H 126.6°. Best body text is #000000 at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#A5D451
RGBrgb(165, 212, 81)
HSLhsl(82, 60%, 57%)
HSVhsv(82, 62%, 83%)
CMYKcmyk(22.2%, 0%, 61.8%, 16.9%)
CIE-LABlab(79.43, -34.95, 58.14)
CIE-LCHlch(79.43, 67.83, 121.01°)
OKLaboklab(81.07% -0.0994 0.1339)
OKLCHoklch(81.07% 0.167 126.6)
XYZxyz(40.5458, 55.6798, 16.3941)
Luminance0.5568 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5D451 #8051D4
analogous
#D4C251 #A5D451 #63D451
triadic
#A5D451 #51A5D4 #D451A5
tetradic
#A5D451 #51D4C2 #8051D4 #D45163
square
#A5D451 #51D4C2 #8051D4 #D45163
split-complementary
#A5D451 #5163D4 #C251D4
monochromatic
#648922 #88BA2E #A5D451 #BEE082 #D8ECB3

Accessibility & contrast

On white

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

On black

12.14
#A5D451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5D451
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5D451#FFFFFF#000000##000000
##A5D4511.001.7312.1412.14
#FFFFFF1.731.0021.0021.00
#00000012.1421.001.001.00
##00000012.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC741
Deuteranopia (green-blind)
#D8C45B
Tritanopia (blue-blind)
#ABCBB8
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #a5d451;
/* rgb */ color: rgb(165, 212, 81);
/* oklch */ color: oklch(81.1% 0.167 126.6);
Tailwind
colors: {
  custom: {
    50: '#c3e187',
    500: '#a5d451',
    950: '#000000',
  },
}
SCSS
$custom: #a5d451;
$custom-light: #c3e187;
$custom-dark: #000000;
JSON
{
  "hex": "#a5d451",
  "rgb": {
    "r": 165,
    "g": 212,
    "b": 81
  },
  "hsl": {
    "h": 81.527,
    "s": 60.369,
    "l": 57.451
  },
  "oklch": {
    "l": 0.81073,
    "c": 0.1667,
    "h": 126.6
  },
  "luminance": 0.5568
}

Semantic roles & 50–950 ramp

primary
#A5D451
secondary
#593A8F
accent
#44E47D
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#13150C
muted
#82847F

Preview Lab

Preview with #A5D451

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

Preview Lab → · Contrast checker → · Palette generator →

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