#8CB328#8CB328

#8CB328 is a light, vivid yellow-green. Relative luminance 0.380; OKLCH L 71.3% C 0.164 H 124.6°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#8CB328
RGBrgb(140, 179, 40)
HSLhsl(77, 63%, 43%)
HSVhsv(77, 78%, 70%)
CMYKcmyk(21.8%, 0%, 77.7%, 29.8%)
CIE-LABlab(68.00, -32.09, 61.42)
CIE-LCHlch(68.00, 69.30, 117.58°)
OKLaboklab(71.32% -0.0935 0.1353)
OKLCHoklch(71.32% 0.164 124.6)
XYZxyz(27.3186, 37.9686, 7.8965)
Luminance0.3797 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB328 #4F28B3
analogous
#B39528 #8CB328 #46B328
triadic
#8CB328 #288CB3 #B3288C
tetradic
#8CB328 #28B395 #4F28B3 #B32846
square
#8CB328 #28B395 #4F28B3 #B32846
split-complementary
#8CB328 #2846B3 #9528B3
monochromatic
#3E4F12 #65811D #8CB328 #ACD543 #C2E075

Accessibility & contrast

On white

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

On black

8.59
#8CB328 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB328
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB328#FFFFFF#000000##000000
##8CB3281.002.448.598.59
#FFFFFF2.441.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA700
Deuteranopia (green-blind)
#B8A536
Tritanopia (blue-blind)
#93AA99
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #8cb328;
/* rgb */ color: rgb(140, 179, 40);
/* oklch */ color: oklch(71.3% 0.164 124.6);
Tailwind
colors: {
  custom: {
    50: '#b2ca6e',
    500: '#8cb328',
    950: '#000000',
  },
}
SCSS
$custom: #8cb328;
$custom-light: #b2ca6e;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb328",
  "rgb": {
    "r": 140,
    "g": 179,
    "b": 40
  },
  "hsl": {
    "h": 76.835,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.71323,
    "c": 0.16448,
    "h": 124.6
  },
  "luminance": 0.37969
}

Semantic roles & 50–950 ramp

primary
#8CB328
secondary
#886FC8
accent
#41E670
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8CB328

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

Preview Lab → · Contrast checker → · Palette generator →

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