#42C04B#42C04B

#42C04B is a light, vivid green. Relative luminance 0.394; OKLCH L 71.4% C 0.193 H 144.3°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#42C04B
RGBrgb(66, 192, 75)
HSLhsl(124, 50%, 51%)
HSVhsv(124, 66%, 75%)
CMYKcmyk(65.6%, 0%, 60.9%, 24.7%)
CIE-LABlab(69.01, -57.75, 47.91)
CIE-LCHlch(69.01, 75.04, 140.33°)
OKLaboklab(71.36% -0.1564 0.1124)
OKLCHoklch(71.36% 0.193 144.3)
XYZxyz(22.3650, 39.3632, 13.0745)
Luminance0.3937 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C04B #C042B7
analogous
#78C042 #42C04B #42C08A
triadic
#42C04B #4B42C0 #C04B42
tetradic
#42C04B #4278C0 #C042B7 #C08A42
square
#42C04B #4278C0 #C042B7 #C08A42
split-complementary
#42C04B #8A42C0 #C04278
monochromatic
#226627 #319438 #42C04B #70CF77 #9EDFA2

Accessibility & contrast

On white

2.37
#42C04B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#42C04B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C04B
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C04B#FFFFFF#000000##000000
##42C04B1.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AF3E
Deuteranopia (green-blind)
#B4A455
Tritanopia (blue-blind)
#21BBA7
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #42c04b;
/* rgb */ color: rgb(66, 192, 75);
/* oklch */ color: oklch(71.4% 0.193 144.3);
Tailwind
colors: {
  custom: {
    50: '#86d481',
    500: '#42c04b',
    950: '#000000',
  },
}
SCSS
$custom: #42c04b;
$custom-light: #86d481;
$custom-dark: #000000;
JSON
{
  "hex": "#42c04b",
  "rgb": {
    "r": 66,
    "g": 192,
    "b": 75
  },
  "hsl": {
    "h": 124.286,
    "s": 50,
    "l": 50.588
  },
  "oklch": {
    "l": 0.71365,
    "c": 0.19262,
    "h": 144.3
  },
  "luminance": 0.39366
}

Semantic roles & 50–950 ramp

primary
#42C04B
secondary
#CB93C7
accent
#4ED0DA
background
#F8FDF8
surface
#F0FAEF
border
#CBD3CA
text
#0C140B
muted
#7D837C

Preview Lab

Preview with #42C04B

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

Preview Lab → · Contrast checker → · Palette generator →

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