#A5D255#A5D255

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

Color values

HEX#A5D255
RGBrgb(165, 210, 85)
HSLhsl(82, 58%, 58%)
HSVhsv(82, 60%, 82%)
CMYKcmyk(21.4%, 0%, 59.5%, 17.6%)
CIE-LABlab(78.90, -33.71, 55.83)
CIE-LCHlch(78.90, 65.22, 121.12°)
OKLaboklab(80.65% -0.0956 0.1294)
OKLCHoklch(80.65% 0.161 126.4)
XYZxyz(40.2034, 54.7478, 17.0419)
Luminance0.5475 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5D255 #8255D2
analogous
#D2C155 #A5D255 #66D255
triadic
#A5D255 #55A5D2 #D255A5
tetradic
#A5D255 #55D2C1 #8255D2 #D25566
square
#A5D255 #55D2C1 #8255D2 #D25566
split-complementary
#A5D255 #5566D2 #C155D2
monochromatic
#648824 #88B931 #A5D255 #BFDF85 #D8ECB6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5D255#FFFFFF#000000##000000
##A5D2551.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)
#DCC547
Deuteranopia (green-blind)
#D6C35E
Tritanopia (blue-blind)
#ABC9B7
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #a5d255;
/* rgb */ color: rgb(165, 210, 85);
/* oklch */ color: oklch(80.7% 0.161 126.4);
Tailwind
colors: {
  custom: {
    50: '#c2e089',
    500: '#a5d255',
    950: '#000000',
  },
}
SCSS
$custom: #a5d255;
$custom-light: #c2e089;
$custom-dark: #000000;
JSON
{
  "hex": "#a5d255",
  "rgb": {
    "r": 165,
    "g": 210,
    "b": 85
  },
  "hsl": {
    "h": 81.6,
    "s": 58.14,
    "l": 57.843
  },
  "oklch": {
    "l": 0.80652,
    "c": 0.16087,
    "h": 126.4
  },
  "luminance": 0.54748
}

Semantic roles & 50–950 ramp

primary
#A5D255
secondary
#5A3C8F
accent
#46E17E
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#13150C
muted
#82847F

Preview Lab

Preview with #A5D255

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

Preview Lab → · Contrast checker → · Palette generator →

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