#8CEB42#8CEB42

#8CEB42 is a very light, highly saturated yellow-green. Relative luminance 0.654; OKLCH L 85.0% C 0.218 H 134.6°. Best body text is #000000 at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#8CEB42
RGBrgb(140, 235, 66)
HSLhsl(94, 81%, 59%)
HSVhsv(94, 72%, 92%)
CMYKcmyk(40.4%, 0%, 71.9%, 7.8%)
CIE-LABlab(84.68, -54.63, 68.97)
CIE-LCHlch(84.68, 87.98, 128.38°)
OKLaboklab(84.96% -0.1528 0.1551)
OKLCHoklch(84.96% 0.218 134.6)
XYZxyz(41.5061, 65.3833, 15.5864)
Luminance0.6539 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CEB42 #A142EB
analogous
#E0EB42 #8CEB42 #42EB4D
triadic
#8CEB42 #428CEB #EB428C
tetradic
#8CEB42 #42E0EB #A142EB #EB4D42
square
#8CEB42 #42E0EB #A142EB #EB4D42
split-complementary
#8CEB42 #4D42EB #EB42E0
monochromatic
#50A211 #6CD917 #8CEB42 #AEF179 #CFF7B1

Accessibility & contrast

On white

1.49
#8CEB42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.08
#8CEB42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CEB42
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CEB42#FFFFFF#000000##000000
##8CEB421.001.4914.0814.08
#FFFFFF1.491.0021.0021.00
#00000014.0821.001.001.00
##00000014.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4D822
Deuteranopia (green-blind)
#E7D152
Tritanopia (blue-blind)
#8AE2CA
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #8ceb42;
/* rgb */ color: rgb(140, 235, 66);
/* oklch */ color: oklch(85.0% 0.218 134.6);
Tailwind
colors: {
  custom: {
    50: '#b4f281',
    500: '#8ceb42',
    950: '#000000',
  },
}
SCSS
$custom: #8ceb42;
$custom-light: #b4f281;
$custom-dark: #000000;
JSON
{
  "hex": "#8ceb42",
  "rgb": {
    "r": 140,
    "g": 235,
    "b": 66
  },
  "hsl": {
    "h": 93.728,
    "s": 80.861,
    "l": 59.02
  },
  "oklch": {
    "l": 0.84963,
    "c": 0.2177,
    "h": 134.6
  },
  "luminance": 0.65385
}

Semantic roles & 50–950 ramp

primary
#8CEB42
secondary
#702DA4
accent
#31F7A0
background
#FDFFFB
surface
#F8FEF2
border
#D1D6CC
text
#12170B
muted
#82857E

Preview Lab

Preview with #8CEB42

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

Preview Lab → · Contrast checker → · Palette generator →

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