#8CB838#8CB838

#8CB838 is a light, vivid yellow-green. Relative luminance 0.401; OKLCH L 72.6% C 0.161 H 126.6°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#8CB838
RGBrgb(140, 184, 56)
HSLhsl(81, 53%, 47%)
HSVhsv(81, 70%, 72%)
CMYKcmyk(23.9%, 0%, 69.6%, 27.8%)
CIE-LABlab(69.57, -33.51, 57.37)
CIE-LCHlch(69.57, 66.44, 120.29°)
OKLaboklab(72.63% -0.0961 0.1293)
OKLCHoklch(72.63% 0.161 126.6)
XYZxyz(28.6696, 40.1415, 9.9782)
Luminance0.4014 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB838 #6438B8
analogous
#B8A438 #8CB838 #4CB838
triadic
#8CB838 #388CB8 #B8388C
tetradic
#8CB838 #38B8A4 #6438B8 #B8384C
square
#8CB838 #38B8A4 #6438B8 #B8384C
split-complementary
#8CB838 #384CB8 #A438B8
monochromatic
#455A1B #68892A #8CB838 #A8CE5F #C2DD8E

Accessibility & contrast

On white

2.33
#8CB838 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.03
#8CB838 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB838
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB838#FFFFFF#000000##000000
##8CB8381.002.339.039.03
#FFFFFF2.331.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC24
Deuteranopia (green-blind)
#BBA943
Tritanopia (blue-blind)
#92B09F
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #8cb838;
/* rgb */ color: rgb(140, 184, 56);
/* oklch */ color: oklch(72.6% 0.161 126.6);
Tailwind
colors: {
  custom: {
    50: '#b1cd76',
    500: '#8cb838',
    950: '#000000',
  },
}
SCSS
$custom: #8cb838;
$custom-light: #b1cd76;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb838",
  "rgb": {
    "r": 140,
    "g": 184,
    "b": 56
  },
  "hsl": {
    "h": 80.625,
    "s": 53.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.72628,
    "c": 0.16113,
    "h": 126.6
  },
  "luminance": 0.40142
}

Semantic roles & 50–950 ramp

primary
#8CB838
secondary
#9C85C7
accent
#4BDD7D
background
#FBFCF7
surface
#F6F9ED
border
#D0D2C8
text
#111309
muted
#80827B

Preview Lab

Preview with #8CB838

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

Preview Lab → · Contrast checker → · Palette generator →

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