#8CB334#8CB334

#8CB334 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#8CB334
RGBrgb(140, 179, 52)
HSLhsl(78, 55%, 45%)
HSVhsv(78, 71%, 70%)
CMYKcmyk(21.8%, 0%, 70.9%, 29.8%)
CIE-LABlab(68.07, -31.44, 57.36)
CIE-LCHlch(68.07, 65.41, 118.72°)
OKLaboklab(71.4% -0.0907 0.1287)
OKLCHoklch(71.4% 0.157 125.2)
XYZxyz(27.5553, 38.0633, 9.1434)
Luminance0.3806 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB334 #5B34B3
analogous
#B39A34 #8CB334 #4DB334
triadic
#8CB334 #348CB3 #B3348C
tetradic
#8CB334 #34B39A #5B34B3 #B3344D
square
#8CB334 #34B39A #5B34B3 #B3344D
split-complementary
#8CB334 #344DB3 #9A34B3
monochromatic
#425418 #678426 #8CB334 #A9CE56 #C1DC86

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8CB334#FFFFFF#000000##000000
##8CB3341.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)
#BDA71F
Deuteranopia (green-blind)
#B8A53F
Tritanopia (blue-blind)
#92AA9A
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #8cb334;
/* rgb */ color: rgb(140, 179, 52);
/* oklch */ color: oklch(71.4% 0.157 125.2);
Tailwind
colors: {
  custom: {
    50: '#b1ca73',
    500: '#8cb334',
    950: '#000000',
  },
}
SCSS
$custom: #8cb334;
$custom-light: #b1ca73;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb334",
  "rgb": {
    "r": 140,
    "g": 179,
    "b": 52
  },
  "hsl": {
    "h": 78.425,
    "s": 54.978,
    "l": 45.294
  },
  "oklch": {
    "l": 0.71402,
    "c": 0.15749,
    "h": 125.2
  },
  "luminance": 0.38064
}

Semantic roles & 50–950 ramp

primary
#8CB334
secondary
#947DC5
accent
#49DE77
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111309
muted
#80827B

Preview Lab

Preview with #8CB334

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

Preview Lab → · Contrast checker → · Palette generator →

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