#8CB145#8CB145

#8CB145 is a light, vivid yellow-green. Relative luminance 0.374; OKLCH L 71.1% C 0.142 H 125.8°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#8CB145
RGBrgb(140, 177, 69)
HSLhsl(81, 44%, 48%)
HSVhsv(81, 61%, 69%)
CMYKcmyk(20.9%, 0%, 61%, 30.6%)
CIE-LABlab(67.61, -29.25, 49.89)
CIE-LCHlch(67.61, 57.83, 120.39°)
OKLaboklab(71.08% -0.0832 0.1153)
OKLCHoklch(71.08% 0.142 125.8)
XYZxyz(27.6116, 37.4491, 11.4028)
Luminance0.3745 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB145 #6A45B1
analogous
#B1A045 #8CB145 #56B145
triadic
#8CB145 #458CB1 #B1458C
tetradic
#8CB145 #45B1A0 #6A45B1 #B14556
square
#8CB145 #45B1A0 #6A45B1 #B14556
split-complementary
#8CB145 #4556B1 #A045B1
monochromatic
#465923 #698534 #8CB145 #A8C66D #C2D799

Accessibility & contrast

On white

2.47
#8CB145 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#8CB145 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB145
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB145#FFFFFF#000000##000000
##8CB1451.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA639
Deuteranopia (green-blind)
#B5A44D
Tritanopia (blue-blind)
#91A99A
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #8cb145;
/* rgb */ color: rgb(140, 177, 69);
/* oklch */ color: oklch(71.1% 0.142 125.8);
Tailwind
colors: {
  custom: {
    50: '#b0c87d',
    500: '#8cb145',
    950: '#000000',
  },
}
SCSS
$custom: #8cb145;
$custom-light: #b0c87d;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb145",
  "rgb": {
    "r": 140,
    "g": 177,
    "b": 69
  },
  "hsl": {
    "h": 80.556,
    "s": 43.902,
    "l": 48.235
  },
  "oklch": {
    "l": 0.71077,
    "c": 0.14219,
    "h": 125.8
  },
  "luminance": 0.37449
}

Semantic roles & 50–950 ramp

primary
#8CB145
secondary
#A18EC3
accent
#54D480
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#11130A
muted
#80827C

Preview Lab

Preview with #8CB145

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

Preview Lab → · Contrast checker → · Palette generator →

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