#8CB138#8CB138

#8CB138 is a light, vivid yellow-green. Relative luminance 0.373; OKLCH L 71.0% C 0.152 H 124.9°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#8CB138
RGBrgb(140, 177, 56)
HSLhsl(78, 52%, 46%)
HSVhsv(78, 68%, 69%)
CMYKcmyk(20.9%, 0%, 68.4%, 30.6%)
CIE-LABlab(67.51, -30.24, 55.25)
CIE-LCHlch(67.51, 62.98, 118.69°)
OKLaboklab(70.96% -0.0871 0.1249)
OKLCHoklch(70.96% 0.152 124.9)
XYZxyz(27.2513, 37.3050, 9.5055)
Luminance0.3730 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB138 #5D38B1
analogous
#B19938 #8CB138 #4FB138
triadic
#8CB138 #388CB1 #B1388C
tetradic
#8CB138 #38B199 #5D38B1 #B1384F
square
#8CB138 #38B199 #5D38B1 #B1384F
split-complementary
#8CB138 #384FB1 #9938B1
monochromatic
#42541B #678329 #8CB138 #A9CB5B #C1DA8A

Accessibility & contrast

On white

2.48
#8CB138 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#8CB138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB138
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB138#FFFFFF#000000##000000
##8CB1381.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA626
Deuteranopia (green-blind)
#B6A442
Tritanopia (blue-blind)
#92A999
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #8cb138;
/* rgb */ color: rgb(140, 177, 56);
/* oklch */ color: oklch(71.0% 0.152 124.9);
Tailwind
colors: {
  custom: {
    50: '#b1c875',
    500: '#8cb138',
    950: '#000000',
  },
}
SCSS
$custom: #8cb138;
$custom-light: #b1c875;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb138",
  "rgb": {
    "r": 140,
    "g": 177,
    "b": 56
  },
  "hsl": {
    "h": 78.347,
    "s": 51.931,
    "l": 45.686
  },
  "oklch": {
    "l": 0.70956,
    "c": 0.15227,
    "h": 124.9
  },
  "luminance": 0.37305
}

Semantic roles & 50–950 ramp

primary
#8CB138
secondary
#9581C4
accent
#4CDB78
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111309
muted
#80827B

Preview Lab

Preview with #8CB138

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

Preview Lab → · Contrast checker → · Palette generator →

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