#A8D452#A8D452

#A8D452 is a light, vivid yellow-green. Relative luminance 0.560; OKLCH L 81.3% C 0.165 H 125.7°. Best body text is #000000 at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#A8D452
RGBrgb(168, 212, 82)
HSLhsl(80, 60%, 58%)
HSVhsv(80, 61%, 83%)
CMYKcmyk(20.8%, 0%, 61.3%, 16.9%)
CIE-LABlab(79.63, -33.73, 57.98)
CIE-LCHlch(79.63, 67.08, 120.19°)
OKLaboklab(81.28% -0.0961 0.1336)
OKLCHoklch(81.28% 0.165 125.7)
XYZxyz(41.2150, 56.0205, 16.6227)
Luminance0.5602 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8D452 #7E52D4
analogous
#D4BF52 #A8D452 #67D452
triadic
#A8D452 #52A8D4 #D452A8
tetradic
#A8D452 #52D4BF #7E52D4 #D45267
square
#A8D452 #52D4BF #7E52D4 #D45267
split-complementary
#A8D452 #5267D4 #BF52D4
monochromatic
#668922 #8BBA2E #A8D452 #C1E083 #D9ECB4

Accessibility & contrast

On white

1.72
#A8D452 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.20
#A8D452 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8D452
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8D452#FFFFFF#000000##000000
##A8D4521.001.7212.2012.20
#FFFFFF1.721.0021.0021.00
#00000012.2021.001.001.00
##00000012.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC743
Deuteranopia (green-blind)
#D9C55B
Tritanopia (blue-blind)
#AFCBB9
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #a8d452;
/* rgb */ color: rgb(168, 212, 82);
/* oklch */ color: oklch(81.3% 0.165 125.7);
Tailwind
colors: {
  custom: {
    50: '#c5e188',
    500: '#a8d452',
    950: '#000000',
  },
}
SCSS
$custom: #a8d452;
$custom-light: #c5e188;
$custom-dark: #000000;
JSON
{
  "hex": "#a8d452",
  "rgb": {
    "r": 168,
    "g": 212,
    "b": 82
  },
  "hsl": {
    "h": 80.308,
    "s": 60.185,
    "l": 57.647
  },
  "oklch": {
    "l": 0.81281,
    "c": 0.16455,
    "h": 125.7
  },
  "luminance": 0.56021
}

Semantic roles & 50–950 ramp

primary
#A8D452
secondary
#573B90
accent
#44E37A
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#13150C
muted
#82847F

Preview Lab

Preview with #A8D452

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

Preview Lab → · Contrast checker → · Palette generator →

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