#8CB934#8CB934

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

Color values

HEX#8CB934
RGBrgb(140, 185, 52)
HSLhsl(80, 56%, 46%)
HSVhsv(80, 72%, 73%)
CMYKcmyk(24.3%, 0%, 71.9%, 27.5%)
CIE-LABlab(69.84, -34.23, 59.13)
CIE-LCHlch(69.84, 68.32, 120.06°)
OKLaboklab(72.84% -0.0984 0.1324)
OKLCHoklch(72.84% 0.165 126.6)
XYZxyz(28.7841, 40.5208, 9.5530)
Luminance0.4052 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB934 #6134B9
analogous
#B9A434 #8CB934 #4AB934
triadic
#8CB934 #348CB9 #B9348C
tetradic
#8CB934 #34B9A4 #6134B9 #B9344A
square
#8CB934 #34B9A4 #6134B9 #B9344A
split-complementary
#8CB934 #344AB9 #A434B9
monochromatic
#445919 #688927 #8CB934 #A8D15A #C1DE89

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8CB934#FFFFFF#000000##000000
##8CB9341.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)
#C3AC1C
Deuteranopia (green-blind)
#BDAA40
Tritanopia (blue-blind)
#92B09F
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #8cb934;
/* rgb */ color: rgb(140, 185, 52);
/* oklch */ color: oklch(72.8% 0.165 126.6);
Tailwind
colors: {
  custom: {
    50: '#b1ce74',
    500: '#8cb934',
    950: '#000000',
  },
}
SCSS
$custom: #8cb934;
$custom-light: #b1ce74;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb934",
  "rgb": {
    "r": 140,
    "g": 185,
    "b": 52
  },
  "hsl": {
    "h": 80.301,
    "s": 56.118,
    "l": 46.471
  },
  "oklch": {
    "l": 0.72837,
    "c": 0.16498,
    "h": 126.6
  },
  "luminance": 0.40521
}

Semantic roles & 50–950 ramp

primary
#8CB934
secondary
#9981C8
accent
#48DF7B
background
#FBFCF7
surface
#F6F9ED
border
#D0D2C8
text
#111309
muted
#80827B

Preview Lab

Preview with #8CB934

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

Preview Lab → · Contrast checker → · Palette generator →

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