#A5D54F#A5D54F

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

Color values

HEX#A5D54F
RGBrgb(165, 213, 79)
HSLhsl(81, 61%, 57%)
HSVhsv(81, 63%, 84%)
CMYKcmyk(22.5%, 0%, 62.9%, 16.5%)
CIE-LABlab(79.70, -35.56, 59.27)
CIE-LCHlch(79.70, 69.12, 120.97°)
OKLaboklab(81.29% -0.1012 0.136)
OKLCHoklch(81.29% 0.17 126.7)
XYZxyz(40.7226, 56.1517, 16.0885)
Luminance0.5615 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5D54F #7F4FD5
analogous
#D5C24F #A5D54F #62D54F
triadic
#A5D54F #4FA5D5 #D54FA5
tetradic
#A5D54F #4FD5C2 #7F4FD5 #D54F62
square
#A5D54F #4FD5C2 #7F4FD5 #D54F62
split-complementary
#A5D54F #4F62D5 #C24FD5
monochromatic
#648921 #88BA2C #A5D54F #BEE180 #D8EDB2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5D54F#FFFFFF#000000##000000
##A5D54F1.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)
#E0C73E
Deuteranopia (green-blind)
#D9C559
Tritanopia (blue-blind)
#ABCCB9
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #a5d54f;
/* rgb */ color: rgb(165, 213, 79);
/* oklch */ color: oklch(81.3% 0.170 126.7);
Tailwind
colors: {
  custom: {
    50: '#c3e286',
    500: '#a5d54f',
    950: '#000000',
  },
}
SCSS
$custom: #a5d54f;
$custom-light: #c3e286;
$custom-dark: #000000;
JSON
{
  "hex": "#a5d54f",
  "rgb": {
    "r": 165,
    "g": 213,
    "b": 79
  },
  "hsl": {
    "h": 81.493,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.81285,
    "c": 0.16954,
    "h": 126.7
  },
  "luminance": 0.56152
}

Semantic roles & 50–950 ramp

primary
#A5D54F
secondary
#58398F
accent
#43E57D
background
#FDFEFC
surface
#F9FCF3
border
#D2D5CD
text
#13150C
muted
#82847F

Preview Lab

Preview with #A5D54F

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

Preview Lab → · Contrast checker → · Palette generator →

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