#42BB4F#42BB4F

#42BB4F is a light, vivid green. Relative luminance 0.373; OKLCH L 70.1% C 0.183 H 145.0°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#42BB4F
RGBrgb(66, 187, 79)
HSLhsl(126, 48%, 50%)
HSVhsv(126, 65%, 73%)
CMYKcmyk(64.7%, 0%, 57.8%, 26.7%)
CIE-LABlab(67.47, -55.49, 44.29)
CIE-LCHlch(67.47, 71.00, 141.40°)
OKLaboklab(70.1% -0.1501 0.1049)
OKLCHoklch(70.1% 0.183 145)
XYZxyz(21.4270, 37.2612, 13.4586)
Luminance0.3726 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42BB4F #BB42AE
analogous
#72BB42 #42BB4F #42BB8B
triadic
#42BB4F #4F42BB #BB4F42
tetradic
#42BB4F #4272BB #BB42AE #BB8B42
square
#42BB4F #4272BB #BB42AE #BB8B42
split-complementary
#42BB4F #8B42BB #BB4272
monochromatic
#226129 #328E3C #42BB4F #6ECC78 #9CDCA2

Accessibility & contrast

On white

2.48
#42BB4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#42BB4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42BB4F
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42BB4F#FFFFFF#000000##000000
##42BB4F1.002.488.458.45
#FFFFFF2.481.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAB44
Deuteranopia (green-blind)
#AFA058
Tritanopia (blue-blind)
#22B6A3
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #42bb4f;
/* rgb */ color: rgb(66, 187, 79);
/* oklch */ color: oklch(70.1% 0.183 145.0);
Tailwind
colors: {
  custom: {
    50: '#84d083',
    500: '#42bb4f',
    950: '#000000',
  },
}
SCSS
$custom: #42bb4f;
$custom-light: #84d083;
$custom-dark: #000000;
JSON
{
  "hex": "#42bb4f",
  "rgb": {
    "r": 66,
    "g": 187,
    "b": 79
  },
  "hsl": {
    "h": 126.446,
    "s": 47.826,
    "l": 49.608
  },
  "oklch": {
    "l": 0.70105,
    "c": 0.18318,
    "h": 145
  },
  "luminance": 0.37263
}

Semantic roles & 50–950 ramp

primary
#42BB4F
secondary
#C891C2
accent
#50C9D7
background
#F8FCF8
surface
#F0F9EF
border
#CBD2CA
text
#0C140B
muted
#7D827C

Preview Lab

Preview with #42BB4F

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

Preview Lab → · Contrast checker → · Palette generator →

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