#A8DF52#A8DF52

#A8DF52 is a very light, vivid yellow-green. Relative luminance 0.617; OKLCH L 83.8% C 0.179 H 128.0°. Best body text is #000000 at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#A8DF52
RGBrgb(168, 223, 82)
HSLhsl(83, 69%, 60%)
HSVhsv(83, 63%, 87%)
CMYKcmyk(24.7%, 0%, 63.2%, 12.5%)
CIE-LABlab(82.76, -38.72, 61.39)
CIE-LCHlch(82.76, 72.58, 122.24°)
OKLaboklab(83.82% -0.1099 0.1408)
OKLCHoklch(83.82% 0.179 128)
XYZxyz(44.0590, 61.7085, 17.5707)
Luminance0.6171 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8DF52 #8952DF
analogous
#DFCF52 #A8DF52 #62DF52
triadic
#A8DF52 #52A8DF #DF52A8
tetradic
#A8DF52 #52DFCF #8952DF #DF5262
square
#A8DF52 #52DFCF #8952DF #DF5262
split-complementary
#A8DF52 #5262DF #CF52DF
monochromatic
#699A1D #8CCE26 #A8DF52 #C2E986 #DCF2B9

Accessibility & contrast

On white

1.57
#A8DF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.34
#A8DF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8DF52
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8DF52#FFFFFF#000000##000000
##A8DF521.001.5713.3413.34
#FFFFFF1.571.0021.0021.00
#00000013.3421.001.001.00
##00000013.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD040
Deuteranopia (green-blind)
#E2CD5D
Tritanopia (blue-blind)
#ADD5C2
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #a8df52;
/* rgb */ color: rgb(168, 223, 82);
/* oklch */ color: oklch(83.8% 0.179 128.0);
Tailwind
colors: {
  custom: {
    50: '#c5e989',
    500: '#a8df52',
    950: '#000000',
  },
}
SCSS
$custom: #a8df52;
$custom-light: #c5e989;
$custom-dark: #000000;
JSON
{
  "hex": "#a8df52",
  "rgb": {
    "r": 168,
    "g": 223,
    "b": 82
  },
  "hsl": {
    "h": 83.404,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.83816,
    "c": 0.17859,
    "h": 128
  },
  "luminance": 0.61709
}

Semantic roles & 50–950 ramp

primary
#A8DF52
secondary
#5F379E
accent
#3CEC81
background
#FEFEFC
surface
#FAFDF4
border
#D3D5CE
text
#13160C
muted
#83847F

Preview Lab

Preview with #A8DF52

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

Preview Lab → · Contrast checker → · Palette generator →

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