#8CB330#8CB330

#8CB330 is a light, vivid yellow-green. Relative luminance 0.380; OKLCH L 71.4% C 0.160 H 125.0°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#8CB330
RGBrgb(140, 179, 48)
HSLhsl(78, 58%, 45%)
HSVhsv(78, 73%, 70%)
CMYKcmyk(21.8%, 0%, 73.2%, 29.8%)
CIE-LABlab(68.04, -31.67, 58.79)
CIE-LCHlch(68.04, 66.78, 118.31°)
OKLaboklab(71.37% -0.0917 0.1311)
OKLCHoklch(71.37% 0.16 125)
XYZxyz(27.4690, 38.0287, 8.6888)
Luminance0.3803 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB330 #5730B3
analogous
#B39930 #8CB330 #4AB330
triadic
#8CB330 #308CB3 #B3308C
tetradic
#8CB330 #30B399 #5730B3 #B3304A
square
#8CB330 #30B399 #5730B3 #B3304A
split-complementary
#8CB330 #304AB3 #9930B3
monochromatic
#415216 #668323 #8CB330 #AAD050 #C1DD80

Accessibility & contrast

On white

2.44
#8CB330 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.61
#8CB330 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB330
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB330#FFFFFF#000000##000000
##8CB3301.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA717
Deuteranopia (green-blind)
#B8A53C
Tritanopia (blue-blind)
#92AA9A
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #8cb330;
/* rgb */ color: rgb(140, 179, 48);
/* oklch */ color: oklch(71.4% 0.160 125.0);
Tailwind
colors: {
  custom: {
    50: '#b1ca71',
    500: '#8cb330',
    950: '#000000',
  },
}
SCSS
$custom: #8cb330;
$custom-light: #b1ca71;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb330",
  "rgb": {
    "r": 140,
    "g": 179,
    "b": 48
  },
  "hsl": {
    "h": 77.863,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.71373,
    "c": 0.16001,
    "h": 125
  },
  "luminance": 0.38029
}

Semantic roles & 50–950 ramp

primary
#8CB330
secondary
#9079C6
accent
#47E175
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8CB330

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

Preview Lab → · Contrast checker → · Palette generator →

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