#8CD938#8CD938

#8CD938 is a light, highly saturated yellow-green. Relative luminance 0.555; OKLCH L 80.6% C 0.202 H 132.2°. Best body text is #000000 at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#8CD938
RGBrgb(140, 217, 56)
HSLhsl(89, 68%, 54%)
HSVhsv(89, 74%, 85%)
CMYKcmyk(35.5%, 0%, 74.2%, 14.9%)
CIE-LABlab(79.32, -47.96, 67.05)
CIE-LCHlch(79.32, 82.44, 125.57°)
OKLaboklab(80.56% -0.1354 0.1496)
OKLCHoklch(80.56% 0.202 132.2)
XYZxyz(36.3415, 55.4852, 12.5355)
Luminance0.5549 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CD938 #8538D9
analogous
#D9D638 #8CD938 #3BD938
triadic
#8CD938 #388CD9 #D9388C
tetradic
#8CD938 #38D9D6 #8538D9 #D9383B
square
#8CD938 #38D9D6 #8538D9 #D9383B
split-complementary
#8CD938 #383BD9 #D638D9
monochromatic
#4E7E18 #6DB222 #8CD938 #AAE36B #C7ED9F

Accessibility & contrast

On white

1.74
#8CD938 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.10
#8CD938 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CD938
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CD938#FFFFFF#000000##000000
##8CD9381.001.7412.1012.10
#FFFFFF1.741.0021.0021.00
#00000012.1021.001.001.00
##00000012.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C814
Deuteranopia (green-blind)
#D8C248
Tritanopia (blue-blind)
#8ED0BA
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #8cd938;
/* rgb */ color: rgb(140, 217, 56);
/* oklch */ color: oklch(80.6% 0.202 132.2);
Tailwind
colors: {
  custom: {
    50: '#b3e57a',
    500: '#8cd938',
    950: '#000000',
  },
}
SCSS
$custom: #8cd938;
$custom-light: #b3e57a;
$custom-dark: #000000;
JSON
{
  "hex": "#8cd938",
  "rgb": {
    "r": 140,
    "g": 217,
    "b": 56
  },
  "hsl": {
    "h": 88.696,
    "s": 67.932,
    "l": 53.529
  },
  "oklch": {
    "l": 0.80561,
    "c": 0.20182,
    "h": 132.2
  },
  "luminance": 0.55487
}

Semantic roles & 50–950 ramp

primary
#8CD938
secondary
#593086
accent
#3DEB90
background
#FDFEFB
surface
#F8FCF2
border
#D1D5CC
text
#12160A
muted
#82847D

Preview Lab

Preview with #8CD938

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

Preview Lab → · Contrast checker → · Palette generator →

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