#8BB31D#8BB31D

#8BB31D is a light, vivid yellow-green. Relative luminance 0.378; OKLCH L 71.2% C 0.170 H 124.6°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#8BB31D
RGBrgb(139, 179, 29)
HSLhsl(76, 72%, 41%)
HSVhsv(76, 84%, 70%)
CMYKcmyk(22.3%, 0%, 83.8%, 29.8%)
CIE-LABlab(67.89, -32.94, 64.36)
CIE-LCHlch(67.89, 72.30, 117.10°)
OKLaboklab(71.2% -0.0965 0.1398)
OKLCHoklch(71.2% 0.17 124.6)
XYZxyz(26.9896, 37.8176, 7.0398)
Luminance0.3782 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8BB31D #451DB3
analogous
#B3901D #8BB31D #40B31D
triadic
#8BB31D #1D8BB3 #B31D8B
tetradic
#8BB31D #1DB390 #451DB3 #B31D40
square
#8BB31D #1DB390 #451DB3 #B31D40
split-complementary
#8BB31D #1D40B3 #901DB3
monochromatic
#394A0C #627E14 #8BB31D #AFDD30 #C3E664

Accessibility & contrast

On white

2.45
#8BB31D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#8BB31D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8BB31D
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8BB31D#FFFFFF#000000##000000
##8BB31D1.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA700
Deuteranopia (green-blind)
#B8A52F
Tritanopia (blue-blind)
#92AA99
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #8bb31d;
/* rgb */ color: rgb(139, 179, 29);
/* oklch */ color: oklch(71.2% 0.170 124.6);
Tailwind
colors: {
  custom: {
    50: '#b1ca69',
    500: '#8bb31d',
    950: '#000000',
  },
}
SCSS
$custom: #8bb31d;
$custom-light: #b1ca69;
$custom-dark: #000000;
JSON
{
  "hex": "#8bb31d",
  "rgb": {
    "r": 139,
    "g": 179,
    "b": 29
  },
  "hsl": {
    "h": 76,
    "s": 72.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.71201,
    "c": 0.16987,
    "h": 124.6
  },
  "luminance": 0.37818
}

Semantic roles & 50–950 ramp

primary
#8BB31D
secondary
#7D61CB
accent
#39EF69
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111307
muted
#80827A

Preview Lab

Preview with #8BB31D

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

Preview Lab → · Contrast checker → · Palette generator →

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