#8DB42B#8DB42B

#8DB42B is a light, vivid yellow-green. Relative luminance 0.385; OKLCH L 71.6% C 0.164 H 124.7°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#8DB42B
RGBrgb(141, 180, 43)
HSLhsl(77, 61%, 44%)
HSVhsv(77, 76%, 71%)
CMYKcmyk(21.7%, 0%, 76.1%, 29.4%)
CIE-LABlab(68.37, -32.01, 60.84)
CIE-LCHlch(68.37, 68.74, 117.75°)
OKLaboklab(71.65% -0.0931 0.1346)
OKLCHoklch(71.65% 0.164 124.7)
XYZxyz(27.7421, 38.4794, 8.2507)
Luminance0.3848 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8DB42B #522BB4
analogous
#B4962B #8DB42B #48B42B
triadic
#8DB42B #2B8DB4 #B42B8D
tetradic
#8DB42B #2BB496 #522BB4 #B42B48
square
#8DB42B #2BB496 #522BB4 #B42B48
split-complementary
#8DB42B #2B48B4 #962BB4
monochromatic
#405113 #66831F #8DB42B #ACD349 #C2DF7A

Accessibility & contrast

On white

2.41
#8DB42B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#8DB42B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8DB42B
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8DB42B#FFFFFF#000000##000000
##8DB42B1.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA808
Deuteranopia (green-blind)
#B9A638
Tritanopia (blue-blind)
#94AB9A
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #8db42b;
/* rgb */ color: rgb(141, 180, 43);
/* oklch */ color: oklch(71.6% 0.164 124.7);
Tailwind
colors: {
  custom: {
    50: '#b2ca6f',
    500: '#8db42b',
    950: '#000000',
  },
}
SCSS
$custom: #8db42b;
$custom-light: #b2ca6f;
$custom-dark: #000000;
JSON
{
  "hex": "#8db42b",
  "rgb": {
    "r": 141,
    "g": 180,
    "b": 43
  },
  "hsl": {
    "h": 77.08,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.71648,
    "c": 0.16363,
    "h": 124.7
  },
  "luminance": 0.3848
}

Semantic roles & 50–950 ramp

primary
#8DB42B
secondary
#8B73C7
accent
#43E571
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8DB42B

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

Preview Lab → · Contrast checker → · Palette generator →

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