#8DB21F#8DB21F

#8DB21F is a light, vivid yellow-green. Relative luminance 0.376; OKLCH L 71.1% C 0.167 H 123.8°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#8DB21F
RGBrgb(141, 178, 31)
HSLhsl(75, 70%, 41%)
HSVhsv(75, 83%, 70%)
CMYKcmyk(20.8%, 0%, 82.6%, 30.2%)
CIE-LABlab(67.73, -31.59, 63.77)
CIE-LCHlch(67.73, 71.16, 116.35°)
OKLaboklab(71.11% -0.0928 0.1388)
OKLCHoklch(71.11% 0.167 123.8)
XYZxyz(27.1526, 37.6022, 7.1235)
Luminance0.3760 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8DB21F #441FB2
analogous
#B28D1F #8DB21F #43B21F
triadic
#8DB21F #1F8DB2 #B21F8D
tetradic
#8DB21F #1FB28D #441FB2 #B21F43
square
#8DB21F #1FB28D #441FB2 #B21F43
split-complementary
#8DB21F #1F43B2 #8D1FB2
monochromatic
#3A4A0D #647E16 #8DB21F #B1DB33 #C5E567

Accessibility & contrast

On white

2.46
#8DB21F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#8DB21F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8DB21F
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8DB21F#FFFFFF#000000##000000
##8DB21F1.002.468.528.52
#FFFFFF2.461.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA600
Deuteranopia (green-blind)
#B8A530
Tritanopia (blue-blind)
#94A998
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #8db21f;
/* rgb */ color: rgb(141, 178, 31);
/* oklch */ color: oklch(71.1% 0.167 123.8);
Tailwind
colors: {
  custom: {
    50: '#b2c96a',
    500: '#8db21f',
    950: '#000000',
  },
}
SCSS
$custom: #8db21f;
$custom-light: #b2c96a;
$custom-dark: #000000;
JSON
{
  "hex": "#8db21f",
  "rgb": {
    "r": 141,
    "g": 178,
    "b": 31
  },
  "hsl": {
    "h": 75.102,
    "s": 70.335,
    "l": 40.98
  },
  "oklch": {
    "l": 0.71108,
    "c": 0.16697,
    "h": 123.8
  },
  "luminance": 0.37602
}

Semantic roles & 50–950 ramp

primary
#8DB21F
secondary
#7D63CA
accent
#3BED68
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111307
muted
#80827A

Preview Lab

Preview with #8DB21F

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

Preview Lab → · Contrast checker → · Palette generator →

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