#8CB538#8CB538

#8CB538 is a light, vivid yellow-green. Relative luminance 0.389; OKLCH L 71.9% C 0.157 H 125.9°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#8CB538
RGBrgb(140, 181, 56)
HSLhsl(80, 53%, 46%)
HSVhsv(80, 69%, 71%)
CMYKcmyk(22.7%, 0%, 69.1%, 29%)
CIE-LABlab(68.68, -32.12, 56.46)
CIE-LCHlch(68.68, 64.96, 119.63°)
OKLaboklab(71.91% -0.0923 0.1274)
OKLCHoklch(71.91% 0.157 125.9)
XYZxyz(28.0530, 38.9083, 9.7727)
Luminance0.3891 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB538 #6138B5
analogous
#B5A038 #8CB538 #4EB538
triadic
#8CB538 #388CB5 #B5388C
tetradic
#8CB538 #38B5A0 #6138B5 #B5384E
square
#8CB538 #38B5A0 #6138B5 #B5384E
split-complementary
#8CB538 #384EB5 #A038B5
monochromatic
#44581B #68862A #8CB538 #A8CD5D #C1DB8C

Accessibility & contrast

On white

2.39
#8CB538 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#8CB538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB538
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB538#FFFFFF#000000##000000
##8CB5381.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA925
Deuteranopia (green-blind)
#B9A742
Tritanopia (blue-blind)
#92AD9C
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #8cb538;
/* rgb */ color: rgb(140, 181, 56);
/* oklch */ color: oklch(71.9% 0.157 125.9);
Tailwind
colors: {
  custom: {
    50: '#b1cb76',
    500: '#8cb538',
    950: '#000000',
  },
}
SCSS
$custom: #8cb538;
$custom-light: #b1cb76;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb538",
  "rgb": {
    "r": 140,
    "g": 181,
    "b": 56
  },
  "hsl": {
    "h": 79.68,
    "s": 52.743,
    "l": 46.471
  },
  "oklch": {
    "l": 0.71911,
    "c": 0.15734,
    "h": 125.9
  },
  "luminance": 0.38909
}

Semantic roles & 50–950 ramp

primary
#8CB538
secondary
#9983C6
accent
#4CDC7B
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111309
muted
#80827B

Preview Lab

Preview with #8CB538

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

Preview Lab → · Contrast checker → · Palette generator →

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