#42B778#42B778

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

Color values

HEX#42B778
RGBrgb(66, 183, 120)
HSLhsl(148, 47%, 49%)
HSVhsv(148, 64%, 72%)
CMYKcmyk(63.9%, 0%, 34.4%, 28.2%)
CIE-LABlab(66.81, -47.32, 22.64)
CIE-LCHlch(66.81, 52.45, 154.43°)
OKLaboklab(69.75% -0.1284 0.057)
OKLCHoklch(69.75% 0.141 156.1)
XYZxyz(22.5684, 36.3790, 23.5981)
Luminance0.3638 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B778 #B74281
analogous
#47B742 #42B778 #42B7B3
triadic
#42B778 #7842B7 #B77842
tetradic
#42B778 #4247B7 #B74281 #B7B342
square
#42B778 #4247B7 #B74281 #B7B342
split-complementary
#42B778 #B342B7 #B74247
monochromatic
#225D3D #328A5B #42B778 #6CCA97 #99DAB7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42B778#FFFFFF#000000##000000
##42B7781.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)
#B6A974
Deuteranopia (green-blind)
#A79E7C
Tritanopia (blue-blind)
#00B5A7
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #42b778;
/* rgb */ color: rgb(66, 183, 120);
/* oklch */ color: oklch(69.8% 0.141 156.1);
Tailwind
colors: {
  custom: {
    50: '#83cd9f',
    500: '#42b778',
    950: '#000000',
  },
}
SCSS
$custom: #42b778;
$custom-light: #83cd9f;
$custom-dark: #000000;
JSON
{
  "hex": "#42b778",
  "rgb": {
    "r": 66,
    "g": 183,
    "b": 120
  },
  "hsl": {
    "h": 147.692,
    "s": 46.988,
    "l": 48.824
  },
  "oklch": {
    "l": 0.69752,
    "c": 0.1405,
    "h": 156.1
  },
  "luminance": 0.36381
}

Semantic roles & 50–950 ramp

primary
#42B778
secondary
#C68FAD
accent
#5199D7
background
#F8FCF9
surface
#F0F9F2
border
#CBD2CC
text
#0C140E
muted
#7D827E

Preview Lab

Preview with #42B778

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

Preview Lab → · Contrast checker → · Palette generator →

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