#A8D45B#A8D45B

#A8D45B is a light, vivid yellow-green. Relative luminance 0.562; OKLCH L 81.4% C 0.157 H 126.4°. Best body text is #000000 at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#A8D45B
RGBrgb(168, 212, 91)
HSLhsl(82, 58%, 59%)
HSVhsv(82, 57%, 83%)
CMYKcmyk(20.8%, 0%, 57.1%, 16.9%)
CIE-LABlab(79.71, -32.97, 54.15)
CIE-LCHlch(79.71, 63.40, 121.34°)
OKLaboklab(81.38% -0.0932 0.1264)
OKLCHoklch(81.38% 0.157 126.4)
XYZxyz(41.5802, 56.1666, 18.5461)
Luminance0.5617 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8D45B #875BD4
analogous
#D4C35B #A8D45B #6CD45B
triadic
#A8D45B #5BA8D4 #D45BA8
tetradic
#A8D45B #5BD4C3 #875BD4 #D45B6C
square
#A8D45B #5BD4C3 #875BD4 #D45B6C
split-complementary
#A8D45B #5B6CD4 #C35BD4
monochromatic
#698F26 #8CC032 #A8D45B #C2E18B #DBEDBC

Accessibility & contrast

On white

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

On black

12.23
#A8D45B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8D45B
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8D45B#FFFFFF#000000##000000
##A8D45B1.001.7212.2312.23
#FFFFFF1.721.0021.0021.00
#00000012.2321.001.001.00
##00000012.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC74E
Deuteranopia (green-blind)
#D8C563
Tritanopia (blue-blind)
#AECBBA
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #a8d45b;
/* rgb */ color: rgb(168, 212, 91);
/* oklch */ color: oklch(81.4% 0.157 126.4);
Tailwind
colors: {
  custom: {
    50: '#c4e18d',
    500: '#a8d45b',
    950: '#000000',
  },
}
SCSS
$custom: #a8d45b;
$custom-light: #c4e18d;
$custom-dark: #000000;
JSON
{
  "hex": "#a8d45b",
  "rgb": {
    "r": 168,
    "g": 212,
    "b": 91
  },
  "hsl": {
    "h": 81.818,
    "s": 58.454,
    "l": 59.412
  },
  "oklch": {
    "l": 0.81375,
    "c": 0.15706,
    "h": 126.4
  },
  "luminance": 0.56167
}

Semantic roles & 50–950 ramp

primary
#A8D45B
secondary
#5E3E95
accent
#46E27F
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#13150C
muted
#82847F

Preview Lab

Preview with #A8D45B

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

Preview Lab → · Contrast checker → · Palette generator →

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