#A5D642#A5D642

#A5D642 is a light, vivid yellow-green. Relative luminance 0.565; OKLCH L 81.4% C 0.180 H 126.1°. Best body text is #000000 at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#A5D642
RGBrgb(165, 214, 66)
HSLhsl(80, 64%, 55%)
HSVhsv(80, 69%, 84%)
CMYKcmyk(22.9%, 0%, 69.2%, 16.1%)
CIE-LABlab(79.89, -36.92, 64.57)
CIE-LCHlch(79.89, 74.38, 119.76°)
OKLaboklab(81.41% -0.1061 0.1454)
OKLCHoklch(81.41% 0.18 126.1)
XYZxyz(40.5472, 56.4852, 13.9197)
Luminance0.5649 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5D642 #7342D6
analogous
#D6BD42 #A5D642 #5BD642
triadic
#A5D642 #42A5D6 #D642A5
tetradic
#A5D642 #42D6BD #7342D6 #D6425B
square
#A5D642 #42D6BD #7342D6 #D6425B
split-complementary
#A5D642 #425BD6 #BD42D6
monochromatic
#60821C #85B427 #A5D642 #BDE174 #D5ECA7

Accessibility & contrast

On white

1.71
#A5D642 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.30
#A5D642 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5D642
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5D642#FFFFFF#000000##000000
##A5D6421.001.7112.3012.30
#FFFFFF1.711.0021.0021.00
#00000012.3021.001.001.00
##00000012.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C82A
Deuteranopia (green-blind)
#DAC54F
Tritanopia (blue-blind)
#ACCCB9
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #a5d642;
/* rgb */ color: rgb(165, 214, 66);
/* oklch */ color: oklch(81.4% 0.180 126.1);
Tailwind
colors: {
  custom: {
    50: '#c3e27f',
    500: '#a5d642',
    950: '#000000',
  },
}
SCSS
$custom: #a5d642;
$custom-light: #c3e27f;
$custom-dark: #000000;
JSON
{
  "hex": "#a5d642",
  "rgb": {
    "r": 165,
    "g": 214,
    "b": 66
  },
  "hsl": {
    "h": 79.865,
    "s": 64.348,
    "l": 54.902
  },
  "oklch": {
    "l": 0.81407,
    "c": 0.18,
    "h": 126.1
  },
  "luminance": 0.56486
}

Semantic roles & 50–950 ramp

primary
#A5D642
secondary
#503488
accent
#40E778
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150B
muted
#82847E

Preview Lab

Preview with #A5D642

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

Preview Lab → · Contrast checker → · Palette generator →

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