#8CB31D#8CB31D

#8CB31D is a light, vivid yellow-green. Relative luminance 0.379; OKLCH L 71.3% C 0.169 H 124.3°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#8CB31D
RGBrgb(140, 179, 29)
HSLhsl(76, 72%, 41%)
HSVhsv(76, 84%, 70%)
CMYKcmyk(21.8%, 0%, 83.8%, 29.8%)
CIE-LABlab(67.95, -32.53, 64.44)
CIE-LCHlch(67.95, 72.19, 116.79°)
OKLaboklab(71.27% -0.0954 0.14)
OKLCHoklch(71.27% 0.169 124.3)
XYZxyz(27.1574, 37.9041, 7.0476)
Luminance0.3790 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB31D #441DB3
analogous
#B38F1D #8CB31D #41B31D
triadic
#8CB31D #1D8CB3 #B31D8C
tetradic
#8CB31D #1DB38F #441DB3 #B31D41
square
#8CB31D #1DB38F #441DB3 #B31D41
split-complementary
#8CB31D #1D41B3 #8F1DB3
monochromatic
#3A4A0C #637E14 #8CB31D #B0DD30 #C4E664

Accessibility & contrast

On white

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

On black

8.58
#8CB31D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB31D
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB31D#FFFFFF#000000##000000
##8CB31D1.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA700
Deuteranopia (green-blind)
#B8A52F
Tritanopia (blue-blind)
#93AA99
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #8cb31d;
/* rgb */ color: rgb(140, 179, 29);
/* oklch */ color: oklch(71.3% 0.169 124.3);
Tailwind
colors: {
  custom: {
    50: '#b2c969',
    500: '#8cb31d',
    950: '#000000',
  },
}
SCSS
$custom: #8cb31d;
$custom-light: #b2c969;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb31d",
  "rgb": {
    "r": 140,
    "g": 179,
    "b": 29
  },
  "hsl": {
    "h": 75.6,
    "s": 72.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.7127,
    "c": 0.1694,
    "h": 124.3
  },
  "luminance": 0.37904
}

Semantic roles & 50–950 ramp

primary
#8CB31D
secondary
#7C61CB
accent
#39EF68
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111307
muted
#80827A

Preview Lab

Preview with #8CB31D

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

Preview Lab → · Contrast checker → · Palette generator →

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