#8CB54B#8CB54B

#8CB54B is a light, vivid yellow-green. Relative luminance 0.391; OKLCH L 72.1% C 0.142 H 127.4°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#8CB54B
RGBrgb(140, 181, 75)
HSLhsl(83, 42%, 50%)
HSVhsv(83, 59%, 71%)
CMYKcmyk(22.7%, 0%, 58.6%, 29%)
CIE-LABlab(68.85, -30.63, 48.56)
CIE-LCHlch(68.85, 57.42, 122.24°)
OKLaboklab(72.09% -0.0865 0.1132)
OKLCHoklch(72.09% 0.142 127.4)
XYZxyz(28.6090, 39.1307, 12.7010)
Luminance0.3913 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB54B #744BB5
analogous
#B5A94B #8CB54B #57B54B
triadic
#8CB54B #4B8CB5 #B54B8C
tetradic
#8CB54B #4BB5A9 #744BB5 #B54B57
square
#8CB54B #4BB5A9 #744BB5 #B54B57
split-complementary
#8CB54B #4B57B5 #A94BB5
monochromatic
#495F27 #6B8A39 #8CB54B #A8C776 #C3D9A2

Accessibility & contrast

On white

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

On black

8.83
#8CB54B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB54B
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB54B#FFFFFF#000000##000000
##8CB54B1.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAA40
Deuteranopia (green-blind)
#B8A752
Tritanopia (blue-blind)
#91AD9E
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #8cb54b;
/* rgb */ color: rgb(140, 181, 75);
/* oklch */ color: oklch(72.1% 0.142 127.4);
Tailwind
colors: {
  custom: {
    50: '#b0cb81',
    500: '#8cb54b',
    950: '#000000',
  },
}
SCSS
$custom: #8cb54b;
$custom-light: #b0cb81;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb54b",
  "rgb": {
    "r": 140,
    "g": 181,
    "b": 75
  },
  "hsl": {
    "h": 83.208,
    "s": 41.732,
    "l": 50.196
  },
  "oklch": {
    "l": 0.72093,
    "c": 0.14242,
    "h": 127.4
  },
  "luminance": 0.39131
}

Semantic roles & 50–950 ramp

primary
#8CB54B
secondary
#A996C6
accent
#56D286
background
#FBFCF8
surface
#F6F8EF
border
#D0D1CA
text
#11130B
muted
#80827C

Preview Lab

Preview with #8CB54B

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

Preview Lab → · Contrast checker → · Palette generator →

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