#8CB938#8CB938

#8CB938 is a light, vivid yellow-green. Relative luminance 0.406; OKLCH L 72.9% C 0.162 H 126.8°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#8CB938
RGBrgb(140, 185, 56)
HSLhsl(81, 54%, 47%)
HSVhsv(81, 70%, 73%)
CMYKcmyk(24.3%, 0%, 69.7%, 27.5%)
CIE-LABlab(69.87, -33.97, 57.67)
CIE-LCHlch(69.87, 66.93, 120.51°)
OKLaboklab(72.87% -0.0974 0.13)
OKLCHoklch(72.87% 0.162 126.8)
XYZxyz(28.8781, 40.5584, 10.0477)
Luminance0.4056 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB938 #6538B9
analogous
#B9A538 #8CB938 #4CB938
triadic
#8CB938 #388CB9 #B9388C
tetradic
#8CB938 #38B9A5 #6538B9 #B9384C
square
#8CB938 #38B9A5 #6538B9 #B9384C
split-complementary
#8CB938 #384CB9 #A538B9
monochromatic
#455B1C #688A2A #8CB938 #A8CF5F #C2DD8E

Accessibility & contrast

On white

2.30
#8CB938 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.11
#8CB938 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB938
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB938#FFFFFF#000000##000000
##8CB9381.002.309.119.11
#FFFFFF2.301.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD24
Deuteranopia (green-blind)
#BCAA43
Tritanopia (blue-blind)
#91B09F
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #8cb938;
/* rgb */ color: rgb(140, 185, 56);
/* oklch */ color: oklch(72.9% 0.162 126.8);
Tailwind
colors: {
  custom: {
    50: '#b1ce76',
    500: '#8cb938',
    950: '#000000',
  },
}
SCSS
$custom: #8cb938;
$custom-light: #b1ce76;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb938",
  "rgb": {
    "r": 140,
    "g": 185,
    "b": 56
  },
  "hsl": {
    "h": 80.93,
    "s": 53.527,
    "l": 47.255
  },
  "oklch": {
    "l": 0.72867,
    "c": 0.16239,
    "h": 126.8
  },
  "luminance": 0.40559
}

Semantic roles & 50–950 ramp

primary
#8CB938
secondary
#9C85C8
accent
#4BDD7E
background
#FBFCF7
surface
#F6F9ED
border
#D0D2C8
text
#111309
muted
#80827B

Preview Lab

Preview with #8CB938

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

Preview Lab → · Contrast checker → · Palette generator →

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