#8CB530#8CB530

#8CB530 is a light, vivid yellow-green. Relative luminance 0.388; OKLCH L 71.9% C 0.162 H 125.5°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#8CB530
RGBrgb(140, 181, 48)
HSLhsl(78, 58%, 45%)
HSVhsv(78, 73%, 71%)
CMYKcmyk(22.7%, 0%, 73.5%, 29%)
CIE-LABlab(68.63, -32.61, 59.37)
CIE-LCHlch(68.63, 67.74, 118.78°)
OKLaboklab(71.85% -0.0943 0.1323)
OKLCHoklch(71.85% 0.162 125.5)
XYZxyz(27.8728, 38.8362, 8.8234)
Luminance0.3884 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB530 #5930B5
analogous
#B59B30 #8CB530 #4AB530
triadic
#8CB530 #308CB5 #B5308C
tetradic
#8CB530 #30B59B #5930B5 #B5304A
square
#8CB530 #30B59B #5930B5 #B5304A
split-complementary
#8CB530 #304AB5 #9B30B5
monochromatic
#415416 #678523 #8CB530 #AAD151 #C1DE82

Accessibility & contrast

On white

2.40
#8CB530 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#8CB530 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB530
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB530#FFFFFF#000000##000000
##8CB5301.002.408.778.77
#FFFFFF2.401.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA916
Deuteranopia (green-blind)
#B9A73C
Tritanopia (blue-blind)
#92AC9B
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #8cb530;
/* rgb */ color: rgb(140, 181, 48);
/* oklch */ color: oklch(71.9% 0.162 125.5);
Tailwind
colors: {
  custom: {
    50: '#b1cb72',
    500: '#8cb530',
    950: '#000000',
  },
}
SCSS
$custom: #8cb530;
$custom-light: #b1cb72;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb530",
  "rgb": {
    "r": 140,
    "g": 181,
    "b": 48
  },
  "hsl": {
    "h": 78.496,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.71852,
    "c": 0.16247,
    "h": 125.5
  },
  "luminance": 0.38837
}

Semantic roles & 50–950 ramp

primary
#8CB530
secondary
#927AC7
accent
#46E176
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8CB530

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

Preview Lab → · Contrast checker → · Palette generator →

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