#8CB545#8CB545

#8CB545 is a light, vivid yellow-green. Relative luminance 0.391; OKLCH L 72.0% C 0.148 H 126.8°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#8CB545
RGBrgb(140, 181, 69)
HSLhsl(82, 45%, 49%)
HSVhsv(82, 62%, 71%)
CMYKcmyk(22.7%, 0%, 61.9%, 29%)
CIE-LABlab(68.79, -31.15, 51.19)
CIE-LCHlch(68.79, 59.92, 121.32°)
OKLaboklab(72.03% -0.0884 0.1181)
OKLCHoklch(72.03% 0.148 126.8)
XYZxyz(28.4133, 39.0524, 11.6700)
Luminance0.3905 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB545 #6E45B5
analogous
#B5A645 #8CB545 #54B545
triadic
#8CB545 #458CB5 #B5458C
tetradic
#8CB545 #45B5A6 #6E45B5 #B54554
square
#8CB545 #45B5A6 #6E45B5 #B54554
split-complementary
#8CB545 #4554B5 #A645B5
monochromatic
#475C23 #6A8934 #8CB545 #A8C86F #C2D99B

Accessibility & contrast

On white

2.38
#8CB545 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#8CB545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB545
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB545#FFFFFF#000000##000000
##8CB5451.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA938
Deuteranopia (green-blind)
#B8A74D
Tritanopia (blue-blind)
#91AD9D
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #8cb545;
/* rgb */ color: rgb(140, 181, 69);
/* oklch */ color: oklch(72.0% 0.148 126.8);
Tailwind
colors: {
  custom: {
    50: '#b0cb7d',
    500: '#8cb545',
    950: '#000000',
  },
}
SCSS
$custom: #8cb545;
$custom-light: #b0cb7d;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb545",
  "rgb": {
    "r": 140,
    "g": 181,
    "b": 69
  },
  "hsl": {
    "h": 81.964,
    "s": 44.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.72029,
    "c": 0.14752,
    "h": 126.8
  },
  "luminance": 0.39053
}

Semantic roles & 50–950 ramp

primary
#8CB545
secondary
#A491C5
accent
#53D583
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#11130A
muted
#80827C

Preview Lab

Preview with #8CB545

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

Preview Lab → · Contrast checker → · Palette generator →

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