#42C148#42C148

#42C148 is a light, vivid green. Relative luminance 0.398; OKLCH L 71.6% C 0.196 H 143.9°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#42C148
RGBrgb(66, 193, 72)
HSLhsl(123, 51%, 51%)
HSVhsv(123, 66%, 76%)
CMYKcmyk(65.8%, 0%, 62.7%, 24.3%)
CIE-LABlab(69.30, -58.44, 49.56)
CIE-LCHlch(69.30, 76.62, 139.70°)
OKLaboklab(71.59% -0.1584 0.1157)
OKLCHoklch(71.59% 0.196 143.9)
XYZxyz(22.4851, 39.7637, 12.6198)
Luminance0.3977 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C148 #C142BB
analogous
#7BC142 #42C148 #42C188
triadic
#42C148 #4842C1 #C14842
tetradic
#42C148 #427BC1 #C142BB #C18842
square
#42C148 #427BC1 #C142BB #C18842
split-complementary
#42C148 #8842C1 #C1427B
monochromatic
#226725 #319536 #42C148 #70D075 #9EDFA1

Accessibility & contrast

On white

2.35
#42C148 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.95
#42C148 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C148
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C148#FFFFFF#000000##000000
##42C1481.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B03A
Deuteranopia (green-blind)
#B5A552
Tritanopia (blue-blind)
#22BCA7
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #42c148;
/* rgb */ color: rgb(66, 193, 72);
/* oklch */ color: oklch(71.6% 0.196 143.9);
Tailwind
colors: {
  custom: {
    50: '#86d580',
    500: '#42c148',
    950: '#000000',
  },
}
SCSS
$custom: #42c148;
$custom-light: #86d580;
$custom-dark: #000000;
JSON
{
  "hex": "#42c148",
  "rgb": {
    "r": 66,
    "g": 193,
    "b": 72
  },
  "hsl": {
    "h": 122.835,
    "s": 50.598,
    "l": 50.784
  },
  "oklch": {
    "l": 0.71593,
    "c": 0.19614,
    "h": 143.9
  },
  "luminance": 0.39766
}

Semantic roles & 50–950 ramp

primary
#42C148
secondary
#CC93C9
accent
#4ED3DA
background
#F8FDF8
surface
#F0FAEF
border
#CBD3CA
text
#0C140A
muted
#7D837C

Preview Lab

Preview with #42C148

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

Preview Lab → · Contrast checker → · Palette generator →

#42C148 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva