#8DB221#8DB221

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

Color values

HEX#8DB221
RGBrgb(141, 178, 33)
HSLhsl(75, 69%, 41%)
HSVhsv(75, 81%, 70%)
CMYKcmyk(20.8%, 0%, 81.5%, 30.2%)
CIE-LABlab(67.73, -31.51, 63.24)
CIE-LCHlch(67.73, 70.66, 116.49°)
OKLaboklab(71.12% -0.0925 0.138)
OKLCHoklch(71.12% 0.166 123.8)
XYZxyz(27.1798, 37.6131, 7.2667)
Luminance0.3761 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8DB221 #4621B2
analogous
#B28F21 #8DB221 #45B221
triadic
#8DB221 #218DB2 #B2218D
tetradic
#8DB221 #21B28F #4621B2 #B22145
square
#8DB221 #21B28F #4621B2 #B22145
split-complementary
#8DB221 #2145B2 #8F21B2
monochromatic
#3B4B0E #647E17 #8DB221 #B0DA36 #C4E36A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8DB221#FFFFFF#000000##000000
##8DB2211.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)
#B8A531
Tritanopia (blue-blind)
#94A998
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #8db221;
/* rgb */ color: rgb(141, 178, 33);
/* oklch */ color: oklch(71.1% 0.166 123.8);
Tailwind
colors: {
  custom: {
    50: '#b2c96b',
    500: '#8db221',
    950: '#000000',
  },
}
SCSS
$custom: #8db221;
$custom-light: #b2c96b;
$custom-dark: #000000;
JSON
{
  "hex": "#8db221",
  "rgb": {
    "r": 141,
    "g": 178,
    "b": 33
  },
  "hsl": {
    "h": 75.31,
    "s": 68.72,
    "l": 41.373
  },
  "oklch": {
    "l": 0.71117,
    "c": 0.16613,
    "h": 123.8
  },
  "luminance": 0.37613
}

Semantic roles & 50–950 ramp

primary
#8DB221
secondary
#7F66C9
accent
#3CEC69
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111307
muted
#80827A

Preview Lab

Preview with #8DB221

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

Preview Lab → · Contrast checker → · Palette generator →

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