#8CB238#8CB238

#8CB238 is a light, vivid yellow-green. Relative luminance 0.377; OKLCH L 71.2% C 0.154 H 125.2°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#8CB238
RGBrgb(140, 178, 56)
HSLhsl(79, 52%, 46%)
HSVhsv(79, 69%, 70%)
CMYKcmyk(21.3%, 0%, 68.5%, 30.2%)
CIE-LABlab(67.80, -30.71, 55.55)
CIE-LCHlch(67.80, 63.48, 118.93°)
OKLaboklab(71.19% -0.0884 0.1255)
OKLCHoklch(71.19% 0.154 125.2)
XYZxyz(27.4496, 37.7014, 9.5716)
Luminance0.3770 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB238 #5E38B2
analogous
#B29B38 #8CB238 #4FB238
triadic
#8CB238 #388CB2 #B2388C
tetradic
#8CB238 #38B29B #5E38B2 #B2384F
square
#8CB238 #38B29B #5E38B2 #B2384F
split-complementary
#8CB238 #384FB2 #9B38B2
monochromatic
#43551B #678329 #8CB238 #A9CC5C #C1DA8A

Accessibility & contrast

On white

2.46
#8CB238 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#8CB238 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB238
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB238#FFFFFF#000000##000000
##8CB2381.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA726
Deuteranopia (green-blind)
#B6A542
Tritanopia (blue-blind)
#92AA9A
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #8cb238;
/* rgb */ color: rgb(140, 178, 56);
/* oklch */ color: oklch(71.2% 0.154 125.2);
Tailwind
colors: {
  custom: {
    50: '#b1c976',
    500: '#8cb238',
    950: '#000000',
  },
}
SCSS
$custom: #8cb238;
$custom-light: #b1c976;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb238",
  "rgb": {
    "r": 140,
    "g": 178,
    "b": 56
  },
  "hsl": {
    "h": 78.689,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.71195,
    "c": 0.15353,
    "h": 125.2
  },
  "luminance": 0.37702
}

Semantic roles & 50–950 ramp

primary
#8CB238
secondary
#9681C5
accent
#4CDC79
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111309
muted
#80827B

Preview Lab

Preview with #8CB238

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

Preview Lab → · Contrast checker → · Palette generator →

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