#A8D852#A8D852

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

Color values

HEX#A8D852
RGBrgb(168, 216, 82)
HSLhsl(81, 63%, 58%)
HSVhsv(81, 62%, 85%)
CMYKcmyk(22.2%, 0%, 62%, 15.3%)
CIE-LABlab(80.76, -35.56, 59.22)
CIE-LCHlch(80.76, 69.08, 120.98°)
OKLaboklab(82.2% -0.1011 0.1362)
OKLCHoklch(82.2% 0.17 126.6)
XYZxyz(42.2273, 58.0451, 16.9601)
Luminance0.5805 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8D852 #8252D8
analogous
#D8C552 #A8D852 #65D852
triadic
#A8D852 #52A8D8 #D852A8
tetradic
#A8D852 #52D8C5 #8252D8 #D85265
square
#A8D852 #52D8C5 #8252D8 #D85265
split-complementary
#A8D852 #5265D8 #C552D8
monochromatic
#688F20 #8CC12C #A8D852 #C1E384 #DAEFB6

Accessibility & contrast

On white

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

On black

12.61
#A8D852 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8D852
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8D852#FFFFFF#000000##000000
##A8D8521.001.6712.6112.61
#FFFFFF1.671.0021.0021.00
#00000012.6121.001.001.00
##00000012.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CA42
Deuteranopia (green-blind)
#DCC85C
Tritanopia (blue-blind)
#AECFBC
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #a8d852;
/* rgb */ color: rgb(168, 216, 82);
/* oklch */ color: oklch(82.2% 0.170 126.6);
Tailwind
colors: {
  custom: {
    50: '#c5e488',
    500: '#a8d852',
    950: '#000000',
  },
}
SCSS
$custom: #a8d852;
$custom-light: #c5e488;
$custom-dark: #000000;
JSON
{
  "hex": "#a8d852",
  "rgb": {
    "r": 168,
    "g": 216,
    "b": 82
  },
  "hsl": {
    "h": 81.493,
    "s": 63.208,
    "l": 58.431
  },
  "oklch": {
    "l": 0.82201,
    "c": 0.16967,
    "h": 126.6
  },
  "luminance": 0.58046
}

Semantic roles & 50–950 ramp

primary
#A8D852
secondary
#5A3995
accent
#42E67D
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#13150C
muted
#82847F

Preview Lab

Preview with #A8D852

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

Preview Lab → · Contrast checker → · Palette generator →

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