#A8D451#A8D451

#A8D451 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#A8D451
RGBrgb(168, 212, 81)
HSLhsl(80, 60%, 57%)
HSVhsv(80, 62%, 83%)
CMYKcmyk(20.8%, 0%, 61.8%, 16.9%)
CIE-LABlab(79.62, -33.81, 58.39)
CIE-LCHlch(79.62, 67.47, 120.07°)
OKLaboklab(81.27% -0.0964 0.1343)
OKLCHoklch(81.27% 0.165 125.7)
XYZxyz(41.1773, 56.0054, 16.4237)
Luminance0.5601 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8D451 #7D51D4
analogous
#D4BF51 #A8D451 #66D451
triadic
#A8D451 #51A8D4 #D451A8
tetradic
#A8D451 #51D4BF #7D51D4 #D45166
square
#A8D451 #51D4BF #7D51D4 #D45166
split-complementary
#A8D451 #5166D4 #BF51D4
monochromatic
#668922 #8BBA2E #A8D451 #C1E082 #D9ECB3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8D451#FFFFFF#000000##000000
##A8D4511.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)
#DFC741
Deuteranopia (green-blind)
#D9C55A
Tritanopia (blue-blind)
#AFCBB8
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #a8d451;
/* rgb */ color: rgb(168, 212, 81);
/* oklch */ color: oklch(81.3% 0.165 125.7);
Tailwind
colors: {
  custom: {
    50: '#c5e187',
    500: '#a8d451',
    950: '#000000',
  },
}
SCSS
$custom: #a8d451;
$custom-light: #c5e187;
$custom-dark: #000000;
JSON
{
  "hex": "#a8d451",
  "rgb": {
    "r": 168,
    "g": 212,
    "b": 81
  },
  "hsl": {
    "h": 80.153,
    "s": 60.369,
    "l": 57.451
  },
  "oklch": {
    "l": 0.81271,
    "c": 0.16534,
    "h": 125.7
  },
  "luminance": 0.56006
}

Semantic roles & 50–950 ramp

primary
#A8D451
secondary
#573A8F
accent
#44E47A
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#13150C
muted
#82847F

Preview Lab

Preview with #A8D451

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

Preview Lab → · Contrast checker → · Palette generator →

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