#A8D751#A8D751

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

Color values

HEX#A8D751
RGBrgb(168, 215, 81)
HSLhsl(81, 63%, 58%)
HSVhsv(81, 62%, 84%)
CMYKcmyk(21.9%, 0%, 62.3%, 15.7%)
CIE-LABlab(80.47, -35.18, 59.32)
CIE-LCHlch(80.47, 68.97, 120.67°)
OKLaboklab(81.96% -0.1002 0.1363)
OKLCHoklch(81.96% 0.169 126.3)
XYZxyz(41.9342, 57.5192, 16.6760)
Luminance0.5752 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8D751 #8051D7
analogous
#D7C351 #A8D751 #65D751
triadic
#A8D751 #51A8D7 #D751A8
tetradic
#A8D751 #51D7C3 #8051D7 #D75165
square
#A8D751 #51D7C3 #8051D7 #D75165
split-complementary
#A8D751 #5165D7 #C351D7
monochromatic
#678D20 #8BBF2C #A8D751 #C1E283 #DAEEB5

Accessibility & contrast

On white

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

On black

12.50
#A8D751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8D751
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8D751#FFFFFF#000000##000000
##A8D7511.001.6812.5012.50
#FFFFFF1.681.0021.0021.00
#00000012.5021.001.001.00
##00000012.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8d751;
/* rgb */ color: rgb(168, 215, 81);
/* oklch */ color: oklch(82.0% 0.169 126.3);
Tailwind
colors: {
  custom: {
    50: '#c5e387',
    500: '#a8d751',
    950: '#000000',
  },
}
SCSS
$custom: #a8d751;
$custom-light: #c5e387;
$custom-dark: #000000;
JSON
{
  "hex": "#a8d751",
  "rgb": {
    "r": 168,
    "g": 215,
    "b": 81
  },
  "hsl": {
    "h": 81.045,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.81962,
    "c": 0.16917,
    "h": 126.3
  },
  "luminance": 0.5752
}

Semantic roles & 50–950 ramp

primary
#A8D751
secondary
#593993
accent
#42E67B
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#13150C
muted
#82847F

Preview Lab

Preview with #A8D751

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

Preview Lab → · Contrast checker → · Palette generator →

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