#8CB335#8CB335

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

Color values

HEX#8CB335
RGBrgb(140, 179, 53)
HSLhsl(79, 54%, 45%)
HSVhsv(79, 70%, 70%)
CMYKcmyk(21.8%, 0%, 70.4%, 29.8%)
CIE-LABlab(68.07, -31.37, 56.99)
CIE-LCHlch(68.07, 65.06, 118.83°)
OKLaboklab(71.41% -0.0905 0.1281)
OKLCHoklch(71.41% 0.157 125.2)
XYZxyz(27.5781, 38.0724, 9.2632)
Luminance0.3807 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB335 #5C35B3
analogous
#B39B35 #8CB335 #4DB335
triadic
#8CB335 #358CB3 #B3358C
tetradic
#8CB335 #35B39B #5C35B3 #B3354D
square
#8CB335 #35B39B #5C35B3 #B3354D
split-complementary
#8CB335 #354DB3 #9B35B3
monochromatic
#425519 #678427 #8CB335 #A9CD58 #C1DB87

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8CB335#FFFFFF#000000##000000
##8CB3351.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)
#BDA720
Deuteranopia (green-blind)
#B7A540
Tritanopia (blue-blind)
#92AA9A
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #8cb335;
/* rgb */ color: rgb(140, 179, 53);
/* oklch */ color: oklch(71.4% 0.157 125.2);
Tailwind
colors: {
  custom: {
    50: '#b1ca74',
    500: '#8cb335',
    950: '#000000',
  },
}
SCSS
$custom: #8cb335;
$custom-light: #b1ca74;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb335",
  "rgb": {
    "r": 140,
    "g": 179,
    "b": 53
  },
  "hsl": {
    "h": 78.571,
    "s": 54.31,
    "l": 45.49
  },
  "oklch": {
    "l": 0.7141,
    "c": 0.15684,
    "h": 125.2
  },
  "luminance": 0.38073
}

Semantic roles & 50–950 ramp

primary
#8CB335
secondary
#947FC5
accent
#4ADE78
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111309
muted
#80827B

Preview Lab

Preview with #8CB335

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

Preview Lab → · Contrast checker → · Palette generator →

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