#42B779#42B779

#42B779 is a light, vivid green. Relative luminance 0.364; OKLCH L 69.8% C 0.140 H 156.4°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#42B779
RGBrgb(66, 183, 121)
HSLhsl(148, 47%, 49%)
HSVhsv(148, 64%, 72%)
CMYKcmyk(63.9%, 0%, 33.9%, 28.2%)
CIE-LABlab(66.83, -47.12, 22.13)
CIE-LCHlch(66.83, 52.05, 154.84°)
OKLaboklab(69.77% -0.1279 0.0558)
OKLCHoklch(69.77% 0.14 156.4)
XYZxyz(22.6294, 36.4034, 23.9194)
Luminance0.3641 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B779 #B74280
analogous
#46B742 #42B779 #42B7B4
triadic
#42B779 #7942B7 #B77942
tetradic
#42B779 #4246B7 #B74280 #B7B442
square
#42B779 #4246B7 #B74280 #B7B442
split-complementary
#42B779 #B442B7 #B74246
monochromatic
#225D3E #328A5B #42B779 #6CCA98 #99DAB8

Accessibility & contrast

On white

2.54
#42B779 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#42B779 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42B779
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42B779#FFFFFF#000000##000000
##42B7791.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A975
Deuteranopia (green-blind)
#A79E7D
Tritanopia (blue-blind)
#00B5A7
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #42b779;
/* rgb */ color: rgb(66, 183, 121);
/* oklch */ color: oklch(69.8% 0.140 156.4);
Tailwind
colors: {
  custom: {
    50: '#83cda0',
    500: '#42b779',
    950: '#000000',
  },
}
SCSS
$custom: #42b779;
$custom-light: #83cda0;
$custom-dark: #000000;
JSON
{
  "hex": "#42b779",
  "rgb": {
    "r": 66,
    "g": 183,
    "b": 121
  },
  "hsl": {
    "h": 148.205,
    "s": 46.988,
    "l": 48.824
  },
  "oklch": {
    "l": 0.69773,
    "c": 0.13958,
    "h": 156.4
  },
  "luminance": 0.36406
}

Semantic roles & 50–950 ramp

primary
#42B779
secondary
#C68FAC
accent
#5198D7
background
#F8FCF9
surface
#F0F9F2
border
#CBD2CC
text
#0C140E
muted
#7D827E

Preview Lab

Preview with #42B779

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

Preview Lab → · Contrast checker → · Palette generator →

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