#A8D158#A8D158

#A8D158 is a light, vivid yellow-green. Relative luminance 0.546; OKLCH L 80.7% C 0.156 H 125.5°. Best body text is #000000 at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#A8D158
RGBrgb(168, 209, 88)
HSLhsl(80, 57%, 58%)
HSVhsv(80, 58%, 82%)
CMYKcmyk(19.6%, 0%, 57.9%, 18%)
CIE-LABlab(78.83, -31.84, 54.49)
CIE-LCHlch(78.83, 63.11, 120.30°)
OKLaboklab(80.65% -0.0903 0.1268)
OKLCHoklch(80.65% 0.156 125.5)
XYZxyz(40.7104, 54.6299, 17.6305)
Luminance0.5463 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8D158 #8158D1
analogous
#D1BE58 #A8D158 #6BD158
triadic
#A8D158 #58A8D1 #D158A8
tetradic
#A8D158 #58D1BE #8158D1 #D1586B
square
#A8D158 #58D1BE #8158D1 #D1586B
split-complementary
#A8D158 #586BD1 #BE58D1
monochromatic
#678926 #8BB933 #A8D158 #C1DE88 #DAEBB8

Accessibility & contrast

On white

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

On black

11.93
#A8D158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8D158
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8D158#FFFFFF#000000##000000
##A8D1581.001.7611.9311.93
#FFFFFF1.761.0021.0021.00
#00000011.9321.001.001.00
##00000011.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC54B
Deuteranopia (green-blind)
#D6C360
Tritanopia (blue-blind)
#AEC8B7
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #a8d158;
/* rgb */ color: rgb(168, 209, 88);
/* oklch */ color: oklch(80.7% 0.156 125.5);
Tailwind
colors: {
  custom: {
    50: '#c4df8b',
    500: '#a8d158',
    950: '#000000',
  },
}
SCSS
$custom: #a8d158;
$custom-light: #c4df8b;
$custom-dark: #000000;
JSON
{
  "hex": "#a8d158",
  "rgb": {
    "r": 168,
    "g": 209,
    "b": 88
  },
  "hsl": {
    "h": 80.331,
    "s": 56.808,
    "l": 58.235
  },
  "oklch": {
    "l": 0.80654,
    "c": 0.1557,
    "h": 125.5
  },
  "luminance": 0.5463
}

Semantic roles & 50–950 ramp

primary
#A8D158
secondary
#593E8F
accent
#48E07B
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#13150C
muted
#82847F

Preview Lab

Preview with #A8D158

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

Preview Lab → · Contrast checker → · Palette generator →

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