#8CB325#8CB325

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

Color values

HEX#8CB325
RGBrgb(140, 179, 37)
HSLhsl(76, 66%, 42%)
HSVhsv(76, 79%, 70%)
CMYKcmyk(21.8%, 0%, 79.3%, 29.8%)
CIE-LABlab(67.98, -32.22, 62.31)
CIE-LCHlch(67.98, 70.15, 117.34°)
OKLaboklab(71.31% -0.0941 0.1367)
OKLCHoklch(71.31% 0.166 124.5)
XYZxyz(27.2695, 37.9489, 7.6381)
Luminance0.3795 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB325 #4C25B3
analogous
#B39325 #8CB325 #45B325
triadic
#8CB325 #258CB3 #B3258C
tetradic
#8CB325 #25B393 #4C25B3 #B32545
square
#8CB325 #25B393 #4C25B3 #B32545
split-complementary
#8CB325 #2545B3 #9325B3
monochromatic
#3D4E10 #64801B #8CB325 #ADD73E #C3E271

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8CB325#FFFFFF#000000##000000
##8CB3251.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)
#B8A534
Tritanopia (blue-blind)
#93AA99
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #8cb325;
/* rgb */ color: rgb(140, 179, 37);
/* oklch */ color: oklch(71.3% 0.166 124.5);
Tailwind
colors: {
  custom: {
    50: '#b2c96c',
    500: '#8cb325',
    950: '#000000',
  },
}
SCSS
$custom: #8cb325;
$custom-light: #b2c96c;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb325",
  "rgb": {
    "r": 140,
    "g": 179,
    "b": 37
  },
  "hsl": {
    "h": 76.479,
    "s": 65.741,
    "l": 42.353
  },
  "oklch": {
    "l": 0.71307,
    "c": 0.16596,
    "h": 124.5
  },
  "luminance": 0.37949
}

Semantic roles & 50–950 ramp

primary
#8CB325
secondary
#856BC8
accent
#3FE96E
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111308
muted
#80827B

Preview Lab

Preview with #8CB325

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

Preview Lab → · Contrast checker → · Palette generator →

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