#8CB338#8CB338

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

Color values

HEX#8CB338
RGBrgb(140, 179, 56)
HSLhsl(79, 52%, 46%)
HSVhsv(79, 69%, 70%)
CMYKcmyk(21.8%, 0%, 68.7%, 29.8%)
CIE-LABlab(68.09, -31.18, 55.86)
CIE-LCHlch(68.09, 63.97, 119.17°)
OKLaboklab(71.43% -0.0897 0.1262)
OKLCHoklch(71.43% 0.155 125.4)
XYZxyz(27.6493, 38.1008, 9.6381)
Luminance0.3810 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB338 #5F38B3
analogous
#B39C38 #8CB338 #4FB338
triadic
#8CB338 #388CB3 #B3388C
tetradic
#8CB338 #38B39C #5F38B3 #B3384F
square
#8CB338 #38B39C #5F38B3 #B3384F
split-complementary
#8CB338 #384FB3 #9C38B3
monochromatic
#43561B #688429 #8CB338 #A9CC5C #C1DB8B

Accessibility & contrast

On white

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

On black

8.62
#8CB338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB338
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB338#FFFFFF#000000##000000
##8CB3381.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA725
Deuteranopia (green-blind)
#B7A542
Tritanopia (blue-blind)
#92AB9A
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #8cb338;
/* rgb */ color: rgb(140, 179, 56);
/* oklch */ color: oklch(71.4% 0.155 125.4);
Tailwind
colors: {
  custom: {
    50: '#b1ca76',
    500: '#8cb338',
    950: '#000000',
  },
}
SCSS
$custom: #8cb338;
$custom-light: #b1ca76;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb338",
  "rgb": {
    "r": 140,
    "g": 179,
    "b": 56
  },
  "hsl": {
    "h": 79.024,
    "s": 52.34,
    "l": 46.078
  },
  "oklch": {
    "l": 0.71433,
    "c": 0.15481,
    "h": 125.4
  },
  "luminance": 0.38101
}

Semantic roles & 50–950 ramp

primary
#8CB338
secondary
#9782C5
accent
#4CDC7A
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111309
muted
#80827B

Preview Lab

Preview with #8CB338

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

Preview Lab → · Contrast checker → · Palette generator →

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