#A5C540#A5C540

#A5C540 is a light, vivid yellow-green. Relative luminance 0.483; OKLCH L 77.5% C 0.161 H 121.9°. Best body text is #000000 at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#A5C540
RGBrgb(165, 197, 64)
HSLhsl(74, 53%, 51%)
HSVhsv(74, 68%, 77%)
CMYKcmyk(16.2%, 0%, 67.5%, 22.7%)
CIE-LABlab(75.01, -29.18, 60.36)
CIE-LCHlch(75.01, 67.04, 115.80°)
OKLaboklab(77.46% -0.0849 0.1363)
OKLCHoklch(77.46% 0.161 121.9)
XYZxyz(36.4092, 48.3019, 12.2546)
Luminance0.4830 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5C540 #6040C5
analogous
#C5A240 #A5C540 #62C540
triadic
#A5C540 #40A5C5 #C540A5
tetradic
#A5C540 #40C5A2 #6040C5 #C54062
square
#A5C540 #40C5A2 #6040C5 #C54062
split-complementary
#A5C540 #4062C5 #A240C5
monochromatic
#596A20 #80992F #A5C540 #BBD36F #D1E29E

Accessibility & contrast

On white

1.97
#A5C540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.66
#A5C540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5C540
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5C540#FFFFFF#000000##000000
##A5C5401.001.9710.6610.66
#FFFFFF1.971.0021.0021.00
#00000010.6621.001.001.00
##00000010.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B92C
Deuteranopia (green-blind)
#CCB94A
Tritanopia (blue-blind)
#ADBBAA
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #a5c540;
/* rgb */ color: rgb(165, 197, 64);
/* oklch */ color: oklch(77.5% 0.161 121.9);
Tailwind
colors: {
  custom: {
    50: '#c3d67c',
    500: '#a5c540',
    950: '#000000',
  },
}
SCSS
$custom: #a5c540;
$custom-light: #c3d67c;
$custom-dark: #000000;
JSON
{
  "hex": "#a5c540",
  "rgb": {
    "r": 165,
    "g": 197,
    "b": 64
  },
  "hsl": {
    "h": 74.436,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.77463,
    "c": 0.16057,
    "h": 121.9
  },
  "luminance": 0.48302
}

Semantic roles & 50–950 ramp

primary
#A5C540
secondary
#A193CE
accent
#4BDD6E
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#13140A
muted
#82837C

Preview Lab

Preview with #A5C540

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

Preview Lab → · Contrast checker → · Palette generator →

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