#8DB540#8DB540

#8DB540 is a light, vivid yellow-green. Relative luminance 0.391; OKLCH L 72.0% C 0.151 H 126.1°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#8DB540
RGBrgb(141, 181, 64)
HSLhsl(81, 48%, 48%)
HSVhsv(81, 65%, 71%)
CMYKcmyk(22.1%, 0%, 64.6%, 29%)
CIE-LABlab(68.81, -31.16, 53.37)
CIE-LCHlch(68.81, 61.80, 120.27°)
OKLaboklab(72.05% -0.089 0.122)
OKLCHoklch(72.05% 0.151 126.1)
XYZxyz(28.4339, 39.0802, 10.8947)
Luminance0.3908 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8DB540 #6840B5
analogous
#B5A240 #8DB540 #52B540
triadic
#8DB540 #408DB5 #B5408D
tetradic
#8DB540 #40B5A2 #6840B5 #B54052
square
#8DB540 #40B5A2 #6840B5 #B54052
split-complementary
#8DB540 #4052B5 #A240B5
monochromatic
#475B20 #6A8830 #8DB540 #A8CA68 #C2DA96

Accessibility & contrast

On white

2.38
#8DB540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#8DB540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8DB540
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8DB540#FFFFFF#000000##000000
##8DB5401.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA931
Deuteranopia (green-blind)
#B9A749
Tritanopia (blue-blind)
#93AD9D
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #8db540;
/* rgb */ color: rgb(141, 181, 64);
/* oklch */ color: oklch(72.0% 0.151 126.1);
Tailwind
colors: {
  custom: {
    50: '#b1cb7a',
    500: '#8db540',
    950: '#000000',
  },
}
SCSS
$custom: #8db540;
$custom-light: #b1cb7a;
$custom-dark: #000000;
JSON
{
  "hex": "#8db540",
  "rgb": {
    "r": 141,
    "g": 181,
    "b": 64
  },
  "hsl": {
    "h": 80.513,
    "s": 47.755,
    "l": 48.039
  },
  "oklch": {
    "l": 0.72048,
    "c": 0.15103,
    "h": 126.1
  },
  "luminance": 0.39081
}

Semantic roles & 50–950 ramp

primary
#8DB540
secondary
#9F8BC5
accent
#50D77F
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#11130A
muted
#80827C

Preview Lab

Preview with #8DB540

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

Preview Lab → · Contrast checker → · Palette generator →

#8DB540 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva