#8CB045#8CB045

#8CB045 is a light, vivid yellow-green. Relative luminance 0.371; OKLCH L 70.8% C 0.141 H 125.5°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#8CB045
RGBrgb(140, 176, 69)
HSLhsl(80, 44%, 48%)
HSVhsv(80, 61%, 69%)
CMYKcmyk(20.5%, 0%, 60.8%, 31%)
CIE-LABlab(67.32, -28.77, 49.56)
CIE-LCHlch(67.32, 57.31, 120.14°)
OKLaboklab(70.84% -0.0819 0.1146)
OKLCHoklch(70.84% 0.141 125.5)
XYZxyz(27.4148, 37.0555, 11.3372)
Luminance0.3706 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB045 #6945B0
analogous
#B09E45 #8CB045 #56B045
triadic
#8CB045 #458CB0 #B0458C
tetradic
#8CB045 #45B09E #6945B0 #B04556
square
#8CB045 #45B09E #6945B0 #B04556
split-complementary
#8CB045 #4556B0 #9E45B0
monochromatic
#465823 #698434 #8CB045 #A8C66D #C2D799

Accessibility & contrast

On white

2.50
#8CB045 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#8CB045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB045
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB045#FFFFFF#000000##000000
##8CB0451.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A539
Deuteranopia (green-blind)
#B4A34C
Tritanopia (blue-blind)
#92A899
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #8cb045;
/* rgb */ color: rgb(140, 176, 69);
/* oklch */ color: oklch(70.8% 0.141 125.5);
Tailwind
colors: {
  custom: {
    50: '#b0c77d',
    500: '#8cb045',
    950: '#000000',
  },
}
SCSS
$custom: #8cb045;
$custom-light: #b0c77d;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb045",
  "rgb": {
    "r": 140,
    "g": 176,
    "b": 69
  },
  "hsl": {
    "h": 80.187,
    "s": 43.673,
    "l": 48.039
  },
  "oklch": {
    "l": 0.7084,
    "c": 0.14085,
    "h": 125.5
  },
  "luminance": 0.37056
}

Semantic roles & 50–950 ramp

primary
#8CB045
secondary
#A08EC3
accent
#54D37F
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#11130A
muted
#80827C

Preview Lab

Preview with #8CB045

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

Preview Lab → · Contrast checker → · Palette generator →

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