#A5D254#A5D254

#A5D254 is a light, vivid yellow-green. Relative luminance 0.547; OKLCH L 80.6% C 0.162 H 126.4°. Best body text is #000000 at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#A5D254
RGBrgb(165, 210, 84)
HSLhsl(81, 58%, 58%)
HSVhsv(81, 60%, 82%)
CMYKcmyk(21.4%, 0%, 60%, 17.6%)
CIE-LABlab(78.89, -33.79, 56.25)
CIE-LCHlch(78.89, 65.62, 120.99°)
OKLaboklab(80.64% -0.0959 0.1302)
OKLCHoklch(80.64% 0.162 126.4)
XYZxyz(40.1639, 54.7321, 16.8341)
Luminance0.5473 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5D254 #8154D2
analogous
#D2C054 #A5D254 #66D254
triadic
#A5D254 #54A5D2 #D254A5
tetradic
#A5D254 #54D2C0 #8154D2 #D25466
square
#A5D254 #54D2C0 #8154D2 #D25466
split-complementary
#A5D254 #5466D2 #C054D2
monochromatic
#648824 #88B831 #A5D254 #BEDF84 #D8EBB5

Accessibility & contrast

On white

1.76
#A5D254 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.95
#A5D254 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5D254
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5D254#FFFFFF#000000##000000
##A5D2541.001.7611.9511.95
#FFFFFF1.761.0021.0021.00
#00000011.9521.001.001.00
##00000011.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC546
Deuteranopia (green-blind)
#D6C35D
Tritanopia (blue-blind)
#ABC9B7
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #a5d254;
/* rgb */ color: rgb(165, 210, 84);
/* oklch */ color: oklch(80.6% 0.162 126.4);
Tailwind
colors: {
  custom: {
    50: '#c2e089',
    500: '#a5d254',
    950: '#000000',
  },
}
SCSS
$custom: #a5d254;
$custom-light: #c2e089;
$custom-dark: #000000;
JSON
{
  "hex": "#a5d254",
  "rgb": {
    "r": 165,
    "g": 210,
    "b": 84
  },
  "hsl": {
    "h": 81.429,
    "s": 58.333,
    "l": 57.647
  },
  "oklch": {
    "l": 0.80641,
    "c": 0.1617,
    "h": 126.4
  },
  "luminance": 0.54733
}

Semantic roles & 50–950 ramp

primary
#A5D254
secondary
#593C8E
accent
#46E27E
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#13150C
muted
#82847F

Preview Lab

Preview with #A5D254

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

Preview Lab → · Contrast checker → · Palette generator →

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