#A5D54E#A5D54E

#A5D54E is a light, vivid yellow-green. Relative luminance 0.561; OKLCH L 81.3% C 0.170 H 126.6°. Best body text is #000000 at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#A5D54E
RGBrgb(165, 213, 78)
HSLhsl(81, 62%, 57%)
HSVhsv(81, 63%, 84%)
CMYKcmyk(22.5%, 0%, 63.4%, 16.5%)
CIE-LABlab(79.69, -35.64, 59.67)
CIE-LCHlch(79.69, 69.50, 120.85°)
OKLaboklab(81.28% -0.1015 0.1367)
OKLCHoklch(81.28% 0.17 126.6)
XYZxyz(40.6865, 56.1373, 15.8983)
Luminance0.5614 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5D54E #7E4ED5
analogous
#D5C14E #A5D54E #62D54E
triadic
#A5D54E #4EA5D5 #D54EA5
tetradic
#A5D54E #4ED5C1 #7E4ED5 #D54E62
square
#A5D54E #4ED5C1 #7E4ED5 #D54E62
split-complementary
#A5D54E #4E62D5 #C14ED5
monochromatic
#638820 #87BA2C #A5D54E #BEE17F #D7ECB1

Accessibility & contrast

On white

1.72
#A5D54E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.23
#A5D54E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5D54E
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5D54E#FFFFFF#000000##000000
##A5D54E1.001.7212.2312.23
#FFFFFF1.721.0021.0021.00
#00000012.2321.001.001.00
##00000012.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C73D
Deuteranopia (green-blind)
#D9C558
Tritanopia (blue-blind)
#ABCCB9
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #a5d54e;
/* rgb */ color: rgb(165, 213, 78);
/* oklch */ color: oklch(81.3% 0.170 126.6);
Tailwind
colors: {
  custom: {
    50: '#c3e285',
    500: '#a5d54e',
    950: '#000000',
  },
}
SCSS
$custom: #a5d54e;
$custom-light: #c3e285;
$custom-dark: #000000;
JSON
{
  "hex": "#a5d54e",
  "rgb": {
    "r": 165,
    "g": 213,
    "b": 78
  },
  "hsl": {
    "h": 81.333,
    "s": 61.644,
    "l": 57.059
  },
  "oklch": {
    "l": 0.81276,
    "c": 0.1703,
    "h": 126.6
  },
  "luminance": 0.56138
}

Semantic roles & 50–950 ramp

primary
#A5D54E
secondary
#57398F
accent
#43E57D
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150B
muted
#82847E

Preview Lab

Preview with #A5D54E

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

Preview Lab → · Contrast checker → · Palette generator →

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