#8CB04B#8CB04B

#8CB04B is a light, vivid yellow-green. Relative luminance 0.371; OKLCH L 70.9% C 0.136 H 126.1°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#8CB04B
RGBrgb(140, 176, 75)
HSLhsl(81, 40%, 49%)
HSVhsv(81, 57%, 69%)
CMYKcmyk(20.5%, 0%, 57.4%, 31%)
CIE-LABlab(67.38, -28.24, 46.89)
CIE-LCHlch(67.38, 54.74, 121.06°)
OKLaboklab(70.91% -0.0798 0.1096)
OKLCHoklch(70.91% 0.136 126.1)
XYZxyz(27.6106, 37.1338, 12.3681)
Luminance0.3713 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB04B #6F4BB0
analogous
#B0A24B #8CB04B #5AB04B
triadic
#8CB04B #4B8CB0 #B04B8C
tetradic
#8CB04B #4BB0A2 #6F4BB0 #B04B5A
square
#8CB04B #4BB0A2 #6F4BB0 #B04B5A
split-complementary
#8CB04B #4B5AB0 #A24BB0
monochromatic
#485A26 #6A8539 #8CB04B #A8C474 #C3D69F

Accessibility & contrast

On white

2.49
#8CB04B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.43
#8CB04B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB04B
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB04B#FFFFFF#000000##000000
##8CB04B1.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A541
Deuteranopia (green-blind)
#B4A452
Tritanopia (blue-blind)
#91A89A
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #8cb04b;
/* rgb */ color: rgb(140, 176, 75);
/* oklch */ color: oklch(70.9% 0.136 126.1);
Tailwind
colors: {
  custom: {
    50: '#b0c781',
    500: '#8cb04b',
    950: '#000000',
  },
}
SCSS
$custom: #8cb04b;
$custom-light: #b0c781;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb04b",
  "rgb": {
    "r": 140,
    "g": 176,
    "b": 75
  },
  "hsl": {
    "h": 81.386,
    "s": 40.239,
    "l": 49.216
  },
  "oklch": {
    "l": 0.70906,
    "c": 0.13558,
    "h": 126.1
  },
  "luminance": 0.37134
}

Semantic roles & 50–950 ramp

primary
#8CB04B
secondary
#A594C3
accent
#58D083
background
#FBFCF8
surface
#F6F8EF
border
#D0D1CA
text
#11130A
muted
#80827C

Preview Lab

Preview with #8CB04B

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

Preview Lab → · Contrast checker → · Palette generator →

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