#A5D342#A5D342

#A5D342 is a light, vivid yellow-green. Relative luminance 0.550; OKLCH L 80.7% C 0.176 H 125.5°. Best body text is #000000 at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#A5D342
RGBrgb(165, 211, 66)
HSLhsl(79, 62%, 54%)
HSVhsv(79, 69%, 83%)
CMYKcmyk(21.8%, 0%, 68.7%, 17.3%)
CIE-LABlab(79.03, -35.56, 63.70)
CIE-LCHlch(79.03, 72.95, 119.17°)
OKLaboklab(80.71% -0.1024 0.1436)
OKLCHoklch(80.71% 0.176 125.5)
XYZxyz(39.7949, 54.9807, 13.6690)
Luminance0.5498 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5D342 #7042D3
analogous
#D3B842 #A5D342 #5DD342
triadic
#A5D342 #42A5D3 #D342A5
tetradic
#A5D342 #42D3B8 #7042D3 #D3425D
square
#A5D342 #42D3B8 #7042D3 #D3425D
split-complementary
#A5D342 #425DD3 #B842D3
monochromatic
#5F7D1D #84AF29 #A5D342 #BDDF74 #D4EAA5

Accessibility & contrast

On white

1.75
#A5D342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.00
#A5D342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5D342
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5D342#FFFFFF#000000##000000
##A5D3421.001.7512.0012.00
#FFFFFF1.751.0021.0021.00
#00000012.0021.001.001.00
##00000012.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC52B
Deuteranopia (green-blind)
#D8C34E
Tritanopia (blue-blind)
#ACC9B6
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #a5d342;
/* rgb */ color: rgb(165, 211, 66);
/* oklch */ color: oklch(80.7% 0.176 125.5);
Tailwind
colors: {
  custom: {
    50: '#c3e07f',
    500: '#a5d342',
    950: '#000000',
  },
}
SCSS
$custom: #a5d342;
$custom-light: #c3e07f;
$custom-dark: #000000;
JSON
{
  "hex": "#a5d342",
  "rgb": {
    "r": 165,
    "g": 211,
    "b": 66
  },
  "hsl": {
    "h": 79.034,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.80712,
    "c": 0.17633,
    "h": 125.5
  },
  "luminance": 0.54981
}

Semantic roles & 50–950 ramp

primary
#A5D342
secondary
#4E3485
accent
#42E576
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150B
muted
#82847E

Preview Lab

Preview with #A5D342

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

Preview Lab → · Contrast checker → · Palette generator →

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