#A8DF51#A8DF51

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

Color values

HEX#A8DF51
RGBrgb(168, 223, 81)
HSLhsl(83, 69%, 60%)
HSVhsv(83, 64%, 87%)
CMYKcmyk(24.7%, 0%, 63.7%, 12.5%)
CIE-LABlab(82.75, -38.80, 61.79)
CIE-LCHlch(82.75, 72.96, 122.12°)
OKLaboklab(83.81% -0.1102 0.1415)
OKLCHoklch(83.81% 0.179 127.9)
XYZxyz(44.0213, 61.6934, 17.3717)
Luminance0.6169 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8DF51 #8851DF
analogous
#DFCF51 #A8DF51 #61DF51
triadic
#A8DF51 #51A8DF #DF51A8
tetradic
#A8DF51 #51DFCF #8851DF #DF5161
square
#A8DF51 #51DFCF #8851DF #DF5161
split-complementary
#A8DF51 #5161DF #CF51DF
monochromatic
#69991C #8CCD26 #A8DF51 #C2E985 #DCF2B8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8DF51#FFFFFF#000000##000000
##A8DF511.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)
#EAD03F
Deuteranopia (green-blind)
#E2CD5C
Tritanopia (blue-blind)
#ADD5C2
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #a8df51;
/* rgb */ color: rgb(168, 223, 81);
/* oklch */ color: oklch(83.8% 0.179 127.9);
Tailwind
colors: {
  custom: {
    50: '#c5e988',
    500: '#a8df51',
    950: '#000000',
  },
}
SCSS
$custom: #a8df51;
$custom-light: #c5e988;
$custom-dark: #000000;
JSON
{
  "hex": "#a8df51",
  "rgb": {
    "r": 168,
    "g": 223,
    "b": 81
  },
  "hsl": {
    "h": 83.239,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.83807,
    "c": 0.17933,
    "h": 127.9
  },
  "luminance": 0.61694
}

Semantic roles & 50–950 ramp

primary
#A8DF51
secondary
#5F379D
accent
#3CEC80
background
#FEFEFC
surface
#FAFDF4
border
#D3D5CE
text
#13160C
muted
#83847F

Preview Lab

Preview with #A8DF51

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

Preview Lab → · Contrast checker → · Palette generator →

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