#A5D340#A5D340

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

Color values

HEX#A5D340
RGBrgb(165, 211, 64)
HSLhsl(79, 63%, 54%)
HSVhsv(79, 70%, 83%)
CMYKcmyk(21.8%, 0%, 69.7%, 17.3%)
CIE-LABlab(79.02, -35.68, 64.43)
CIE-LCHlch(79.02, 73.65, 118.98°)
OKLaboklab(80.7% -0.1029 0.1448)
OKLCHoklch(80.7% 0.178 125.4)
XYZxyz(39.7370, 54.9575, 13.3639)
Luminance0.5496 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5D340 #6E40D3
analogous
#D3B840 #A5D340 #5CD340
triadic
#A5D340 #40A5D3 #D340A5
tetradic
#A5D340 #40D3B8 #6E40D3 #D3405C
square
#A5D340 #40D3B8 #6E40D3 #D3405C
split-complementary
#A5D340 #405CD3 #B840D3
monochromatic
#5E7C1D #84AE28 #A5D340 #BCDE72 #D4EAA3

Accessibility & contrast

On white

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

On black

11.99
#A5D340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5D340
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5D340#FFFFFF#000000##000000
##A5D3401.001.7511.9911.99
#FFFFFF1.751.0021.0021.00
#00000011.9921.001.001.00
##00000011.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a5d340;
/* rgb */ color: rgb(165, 211, 64);
/* oklch */ color: oklch(80.7% 0.178 125.4);
Tailwind
colors: {
  custom: {
    50: '#c3e07d',
    500: '#a5d340',
    950: '#000000',
  },
}
SCSS
$custom: #a5d340;
$custom-light: #c3e07d;
$custom-dark: #000000;
JSON
{
  "hex": "#a5d340",
  "rgb": {
    "r": 165,
    "g": 211,
    "b": 64
  },
  "hsl": {
    "h": 78.776,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.80697,
    "c": 0.17763,
    "h": 125.4
  },
  "luminance": 0.54958
}

Semantic roles & 50–950 ramp

primary
#A5D340
secondary
#4D3384
accent
#42E675
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #A5D340

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

Preview Lab → · Contrast checker → · Palette generator →

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