#42B54E#42B54E

#42B54E is a light, vivid green. Relative luminance 0.348; OKLCH L 68.5% C 0.176 H 145.1°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#42B54E
RGBrgb(66, 181, 78)
HSLhsl(126, 47%, 48%)
HSVhsv(126, 64%, 71%)
CMYKcmyk(63.5%, 0%, 56.9%, 29%)
CIE-LABlab(65.56, -53.43, 42.51)
CIE-LCHlch(65.56, 68.27, 141.50°)
OKLaboklab(68.52% -0.1446 0.101)
OKLCHoklch(68.52% 0.176 145.1)
XYZxyz(20.1445, 34.7541, 12.8528)
Luminance0.3476 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B54E #B542A9
analogous
#6FB542 #42B54E #42B587
triadic
#42B54E #4E42B5 #B54E42
tetradic
#42B54E #426FB5 #B542A9 #B58742
square
#42B54E #426FB5 #B542A9 #B58742
split-complementary
#42B54E #8742B5 #B5426F
monochromatic
#215B27 #32883B #42B54E #6BC975 #98D99F

Accessibility & contrast

On white

2.64
#42B54E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#42B54E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42B54E
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42B54E#FFFFFF#000000##000000
##42B54E1.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A544
Deuteranopia (green-blind)
#AA9B56
Tritanopia (blue-blind)
#26B19E
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #42b54e;
/* rgb */ color: rgb(66, 181, 78);
/* oklch */ color: oklch(68.5% 0.176 145.1);
Tailwind
colors: {
  custom: {
    50: '#83cc82',
    500: '#42b54e',
    950: '#000000',
  },
}
SCSS
$custom: #42b54e;
$custom-light: #83cc82;
$custom-dark: #000000;
JSON
{
  "hex": "#42b54e",
  "rgb": {
    "r": 66,
    "g": 181,
    "b": 78
  },
  "hsl": {
    "h": 126.261,
    "s": 46.559,
    "l": 48.431
  },
  "oklch": {
    "l": 0.68519,
    "c": 0.17636,
    "h": 145.1
  },
  "luminance": 0.34756
}

Semantic roles & 50–950 ramp

primary
#42B54E
secondary
#C58EBF
accent
#52C8D6
background
#F8FCF8
surface
#F0F9EF
border
#CBD2CA
text
#0C130B
muted
#7D827C

Preview Lab

Preview with #42B54E

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

Preview Lab → · Contrast checker → · Palette generator →

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