#8CB931#8CB931

#8CB931 is a light, vivid yellow-green. Relative luminance 0.405; OKLCH L 72.8% C 0.167 H 126.5°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#8CB931
RGBrgb(140, 185, 49)
HSLhsl(80, 58%, 46%)
HSVhsv(80, 74%, 73%)
CMYKcmyk(24.3%, 0%, 73.5%, 27.5%)
CIE-LABlab(69.82, -34.40, 60.18)
CIE-LCHlch(69.82, 69.32, 119.75°)
OKLaboklab(72.82% -0.0991 0.1342)
OKLCHoklch(72.82% 0.167 126.5)
XYZxyz(28.7187, 40.4946, 9.2083)
Luminance0.4049 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB931 #5E31B9
analogous
#B9A231 #8CB931 #48B931
triadic
#8CB931 #318CB9 #B9318C
tetradic
#8CB931 #31B9A2 #5E31B9 #B93148
square
#8CB931 #31B9A2 #5E31B9 #B93148
split-complementary
#8CB931 #3148B9 #A231B9
monochromatic
#435817 #678924 #8CB931 #A9D255 #C1DF86

Accessibility & contrast

On white

2.31
#8CB931 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.10
#8CB931 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB931
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB931#FFFFFF#000000##000000
##8CB9311.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AC16
Deuteranopia (green-blind)
#BDAA3E
Tritanopia (blue-blind)
#92B09F
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #8cb931;
/* rgb */ color: rgb(140, 185, 49);
/* oklch */ color: oklch(72.8% 0.167 126.5);
Tailwind
colors: {
  custom: {
    50: '#b1ce73',
    500: '#8cb931',
    950: '#000000',
  },
}
SCSS
$custom: #8cb931;
$custom-light: #b1ce73;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb931",
  "rgb": {
    "r": 140,
    "g": 185,
    "b": 49
  },
  "hsl": {
    "h": 79.853,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.72816,
    "c": 0.1668,
    "h": 126.5
  },
  "luminance": 0.40495
}

Semantic roles & 50–950 ramp

primary
#8CB931
secondary
#967DC8
accent
#46E17A
background
#FBFCF7
surface
#F6F9ED
border
#D0D2C8
text
#111309
muted
#80827B

Preview Lab

Preview with #8CB931

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

Preview Lab → · Contrast checker → · Palette generator →

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