#A5D862#A5D862

#A5D862 is a very light, vivid yellow-green. Relative luminance 0.580; OKLCH L 82.2% C 0.158 H 128.8°. Best body text is #000000 at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#A5D862
RGBrgb(165, 216, 98)
HSLhsl(86, 60%, 62%)
HSVhsv(86, 55%, 85%)
CMYKcmyk(23.6%, 0%, 54.6%, 15.3%)
CIE-LABlab(80.73, -35.28, 52.12)
CIE-LCHlch(80.73, 62.94, 124.10°)
OKLaboklab(82.18% -0.0988 0.1228)
OKLCHoklch(82.18% 0.158 128.8)
XYZxyz(42.2772, 57.9921, 20.5191)
Luminance0.5799 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5D862 #9562D8
analogous
#D8D062 #A5D862 #6AD862
triadic
#A5D862 #62A5D8 #D862A5
tetradic
#A5D862 #62D8D0 #9562D8 #D8626A
square
#A5D862 #62D8D0 #9562D8 #D8626A
split-complementary
#A5D862 #626AD8 #D062D8
monochromatic
#689926 #89CA32 #A5D862 #C1E493 #DDF0C4

Accessibility & contrast

On white

1.67
#A5D862 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.60
#A5D862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5D862
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5D862#FFFFFF#000000##000000
##A5D8621.001.6712.6012.60
#FFFFFF1.671.0021.0021.00
#00000012.6021.001.001.00
##00000012.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CB56
Deuteranopia (green-blind)
#DAC76A
Tritanopia (blue-blind)
#A9D0BE
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #a5d862;
/* rgb */ color: rgb(165, 216, 98);
/* oklch */ color: oklch(82.2% 0.158 128.8);
Tailwind
colors: {
  custom: {
    50: '#c2e492',
    500: '#a5d862',
    950: '#000000',
  },
}
SCSS
$custom: #a5d862;
$custom-light: #c2e492;
$custom-dark: #000000;
JSON
{
  "hex": "#a5d862",
  "rgb": {
    "r": 165,
    "g": 216,
    "b": 98
  },
  "hsl": {
    "h": 85.932,
    "s": 60.204,
    "l": 61.569
  },
  "oklch": {
    "l": 0.82179,
    "c": 0.1576,
    "h": 128.8
  },
  "luminance": 0.57993
}

Semantic roles & 50–950 ramp

primary
#A5D862
secondary
#69409E
accent
#1EC867
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#13150D
muted
#82847F

Preview Lab

Preview with #A5D862

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

Preview Lab → · Contrast checker → · Palette generator →

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