#42BA74#42BA74

#42BA74 is a light, vivid green. Relative luminance 0.375; OKLCH L 70.4% C 0.148 H 154.1°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#42BA74
RGBrgb(66, 186, 116)
HSLhsl(145, 48%, 49%)
HSVhsv(145, 65%, 73%)
CMYKcmyk(64.5%, 0%, 37.6%, 27.1%)
CIE-LABlab(67.68, -49.29, 25.93)
CIE-LCHlch(67.68, 55.70, 152.25°)
OKLaboklab(70.44% -0.1334 0.0648)
OKLCHoklch(70.44% 0.148 154.1)
XYZxyz(22.9561, 37.5346, 22.5547)
Luminance0.3754 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42BA74 #BA4288
analogous
#4CBA42 #42BA74 #42BAB0
triadic
#42BA74 #7442BA #BA7442
tetradic
#42BA74 #424CBA #BA4288 #BAB042
square
#42BA74 #424CBA #BA4288 #BAB042
split-complementary
#42BA74 #B042BA #BA424C
monochromatic
#22603C #328D58 #42BA74 #6ECB95 #9BDBB6

Accessibility & contrast

On white

2.47
#42BA74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.51
#42BA74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42BA74
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42BA74#FFFFFF#000000##000000
##42BA741.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAAB6F
Deuteranopia (green-blind)
#AAA079
Tritanopia (blue-blind)
#00B8A8
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #42ba74;
/* rgb */ color: rgb(66, 186, 116);
/* oklch */ color: oklch(70.4% 0.148 154.1);
Tailwind
colors: {
  custom: {
    50: '#83d09c',
    500: '#42ba74',
    950: '#000000',
  },
}
SCSS
$custom: #42ba74;
$custom-light: #83d09c;
$custom-dark: #000000;
JSON
{
  "hex": "#42ba74",
  "rgb": {
    "r": 66,
    "g": 186,
    "b": 116
  },
  "hsl": {
    "h": 145,
    "s": 47.619,
    "l": 49.412
  },
  "oklch": {
    "l": 0.70441,
    "c": 0.14832,
    "h": 154.1
  },
  "luminance": 0.37537
}

Semantic roles & 50–950 ramp

primary
#42BA74
secondary
#C890B1
accent
#519FD7
background
#F8FCF9
surface
#F0F9F2
border
#CBD2CC
text
#0C140E
muted
#7D827E

Preview Lab

Preview with #42BA74

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

Preview Lab → · Contrast checker → · Palette generator →

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