#A8D752#A8D752

#A8D752 is a light, vivid yellow-green. Relative luminance 0.575; OKLCH L 82.0% C 0.168 H 126.4°. Best body text is #000000 at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#A8D752
RGBrgb(168, 215, 82)
HSLhsl(81, 62%, 58%)
HSVhsv(81, 62%, 84%)
CMYKcmyk(21.9%, 0%, 61.9%, 15.7%)
CIE-LABlab(80.48, -35.11, 58.91)
CIE-LCHlch(80.48, 68.58, 120.79°)
OKLaboklab(81.97% -0.0999 0.1356)
OKLCHoklch(81.97% 0.168 126.4)
XYZxyz(41.9719, 57.5343, 16.8750)
Luminance0.5754 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8D752 #8152D7
analogous
#D7C352 #A8D752 #65D752
triadic
#A8D752 #52A8D7 #D752A8
tetradic
#A8D752 #52D7C3 #8152D7 #D75265
square
#A8D752 #52D7C3 #8152D7 #D75265
split-complementary
#A8D752 #5265D7 #C352D7
monochromatic
#678E21 #8BC02C #A8D752 #C1E284 #DAEEB5

Accessibility & contrast

On white

1.68
#A8D752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.51
#A8D752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8D752
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8D752#FFFFFF#000000##000000
##A8D7521.001.6812.5112.51
#FFFFFF1.681.0021.0021.00
#00000012.5121.001.001.00
##00000012.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA42
Deuteranopia (green-blind)
#DBC75C
Tritanopia (blue-blind)
#AECEBB
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #a8d752;
/* rgb */ color: rgb(168, 215, 82);
/* oklch */ color: oklch(82.0% 0.168 126.4);
Tailwind
colors: {
  custom: {
    50: '#c5e388',
    500: '#a8d752',
    950: '#000000',
  },
}
SCSS
$custom: #a8d752;
$custom-light: #c5e388;
$custom-dark: #000000;
JSON
{
  "hex": "#a8d752",
  "rgb": {
    "r": 168,
    "g": 215,
    "b": 82
  },
  "hsl": {
    "h": 81.203,
    "s": 62.441,
    "l": 58.235
  },
  "oklch": {
    "l": 0.81971,
    "c": 0.1684,
    "h": 126.4
  },
  "luminance": 0.57535
}

Semantic roles & 50–950 ramp

primary
#A8D752
secondary
#593A93
accent
#42E67C
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#13150C
muted
#82847F

Preview Lab

Preview with #A8D752

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

Preview Lab → · Contrast checker → · Palette generator →

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