#A5D162#A5D162

#A5D162 is a light, vivid yellow-green. Relative luminance 0.545; OKLCH L 80.6% C 0.148 H 127.4°. Best body text is #000000 at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#A5D162
RGBrgb(165, 209, 98)
HSLhsl(84, 55%, 60%)
HSVhsv(84, 53%, 82%)
CMYKcmyk(21.1%, 0%, 53.1%, 18%)
CIE-LABlab(78.74, -32.05, 49.78)
CIE-LCHlch(78.74, 59.21, 122.77°)
OKLaboklab(80.57% -0.0899 0.1177)
OKLCHoklch(80.57% 0.148 127.4)
XYZxyz(40.5220, 54.4815, 19.9340)
Luminance0.5448 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5D162 #8E62D1
analogous
#D1C662 #A5D162 #6DD162
triadic
#A5D162 #62A5D1 #D162A5
tetradic
#A5D162 #62D1C6 #8E62D1 #D1626D
square
#A5D162 #62D1C6 #8E62D1 #D1626D
split-complementary
#A5D162 #626DD1 #C662D1
monochromatic
#678F2A #89BE38 #A5D162 #C0DF91 #DBEDC1

Accessibility & contrast

On white

1.77
#A5D162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.90
#A5D162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5D162
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5D162#FFFFFF#000000##000000
##A5D1621.001.7711.9011.90
#FFFFFF1.771.0021.0021.00
#00000011.9021.001.001.00
##00000011.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC557
Deuteranopia (green-blind)
#D4C269
Tritanopia (blue-blind)
#AAC9B8
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #a5d162;
/* rgb */ color: rgb(165, 209, 98);
/* oklch */ color: oklch(80.6% 0.148 127.4);
Tailwind
colors: {
  custom: {
    50: '#c2df92',
    500: '#a5d162',
    950: '#000000',
  },
}
SCSS
$custom: #a5d162;
$custom-light: #c2df92;
$custom-dark: #000000;
JSON
{
  "hex": "#a5d162",
  "rgb": {
    "r": 165,
    "g": 209,
    "b": 98
  },
  "hsl": {
    "h": 83.784,
    "s": 54.68,
    "l": 60.196
  },
  "oklch": {
    "l": 0.80569,
    "c": 0.14807,
    "h": 127.4
  },
  "luminance": 0.54482
}

Semantic roles & 50–950 ramp

primary
#A5D162
secondary
#634295
accent
#23C262
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#13150D
muted
#82847F

Preview Lab

Preview with #A5D162

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

Preview Lab → · Contrast checker → · Palette generator →

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