#42B760#42B760

#42B760 is a light, vivid green. Relative luminance 0.359; OKLCH L 69.3% C 0.163 H 148.7°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#42B760
RGBrgb(66, 183, 96)
HSLhsl(135, 47%, 49%)
HSVhsv(135, 64%, 72%)
CMYKcmyk(63.9%, 0%, 47.5%, 28.2%)
CIE-LABlab(66.42, -51.60, 34.69)
CIE-LCHlch(66.42, 62.17, 146.08°)
OKLaboklab(69.3% -0.1393 0.0846)
OKLCHoklch(69.3% 0.163 148.7)
XYZxyz(21.2900, 35.8676, 16.8652)
Luminance0.3587 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B760 #B74299
analogous
#5FB742 #42B760 #42B79B
triadic
#42B760 #6042B7 #B76042
tetradic
#42B760 #425FB7 #B74299 #B79B42
square
#42B760 #425FB7 #B74299 #B79B42
split-complementary
#42B760 #9B42B7 #B7425F
monochromatic
#225D31 #328A48 #42B760 #6CCA84 #99DAAA

Accessibility & contrast

On white

2.57
#42B760 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#42B760 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42B760
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42B760#FFFFFF#000000##000000
##42B7601.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A859
Deuteranopia (green-blind)
#AA9D66
Tritanopia (blue-blind)
#1BB4A2
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #42b760;
/* rgb */ color: rgb(66, 183, 96);
/* oklch */ color: oklch(69.3% 0.163 148.7);
Tailwind
colors: {
  custom: {
    50: '#83cd8e',
    500: '#42b760',
    950: '#000000',
  },
}
SCSS
$custom: #42b760;
$custom-light: #83cd8e;
$custom-dark: #000000;
JSON
{
  "hex": "#42b760",
  "rgb": {
    "r": 66,
    "g": 183,
    "b": 96
  },
  "hsl": {
    "h": 135.385,
    "s": 46.988,
    "l": 48.824
  },
  "oklch": {
    "l": 0.69304,
    "c": 0.16296,
    "h": 148.7
  },
  "luminance": 0.3587
}

Semantic roles & 50–950 ramp

primary
#42B760
secondary
#C68FB8
accent
#51B4D7
background
#F8FCF8
surface
#F0F9F0
border
#CBD2CB
text
#0C140C
muted
#7D827D

Preview Lab

Preview with #42B760

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

Preview Lab → · Contrast checker → · Palette generator →

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