#A8D151#A8D151

#A8D151 is a light, vivid yellow-green. Relative luminance 0.545; OKLCH L 80.6% C 0.162 H 125.0°. Best body text is #000000 at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#A8D151
RGBrgb(168, 209, 81)
HSLhsl(79, 58%, 57%)
HSVhsv(79, 61%, 82%)
CMYKcmyk(19.6%, 0%, 61.2%, 18%)
CIE-LABlab(78.76, -32.42, 57.46)
CIE-LCHlch(78.76, 65.97, 119.43°)
OKLaboklab(80.58% -0.0925 0.1324)
OKLCHoklch(80.58% 0.162 125)
XYZxyz(40.4343, 54.5194, 16.1761)
Luminance0.5452 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8D151 #7A51D1
analogous
#D1BA51 #A8D151 #68D151
triadic
#A8D151 #51A8D1 #D151A8
tetradic
#A8D151 #51D1BA #7A51D1 #D15168
square
#A8D151 #51D1BA #7A51D1 #D15168
split-complementary
#A8D151 #5168D1 #BA51D1
monochromatic
#658523 #8AB530 #A8D151 #C0DE81 #D8EBB2

Accessibility & contrast

On white

1.76
#A8D151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.90
#A8D151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8D151
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8D151#FFFFFF#000000##000000
##A8D1511.001.7611.9011.90
#FFFFFF1.761.0021.0021.00
#00000011.9021.001.001.00
##00000011.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC442
Deuteranopia (green-blind)
#D6C25A
Tritanopia (blue-blind)
#AFC8B6
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #a8d151;
/* rgb */ color: rgb(168, 209, 81);
/* oklch */ color: oklch(80.6% 0.162 125.0);
Tailwind
colors: {
  custom: {
    50: '#c5df87',
    500: '#a8d151',
    950: '#000000',
  },
}
SCSS
$custom: #a8d151;
$custom-light: #c5df87;
$custom-dark: #000000;
JSON
{
  "hex": "#a8d151",
  "rgb": {
    "r": 168,
    "g": 209,
    "b": 81
  },
  "hsl": {
    "h": 79.219,
    "s": 58.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.80582,
    "c": 0.16151,
    "h": 125
  },
  "luminance": 0.5452
}

Semantic roles & 50–950 ramp

primary
#A8D151
secondary
#553B8B
accent
#46E178
background
#FDFEFC
surface
#F9FCF3
border
#D2D5CD
text
#13150C
muted
#82847F

Preview Lab

Preview with #A8D151

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

Preview Lab → · Contrast checker → · Palette generator →

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