#42B74E#42B74E

#42B74E is a light, vivid green. Relative luminance 0.356; OKLCH L 69.0% C 0.179 H 145.0°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#42B74E
RGBrgb(66, 183, 78)
HSLhsl(126, 47%, 49%)
HSVhsv(126, 64%, 72%)
CMYKcmyk(63.9%, 0%, 57.4%, 28.2%)
CIE-LABlab(66.19, -54.16, 43.26)
CIE-LCHlch(66.19, 69.31, 141.39°)
OKLaboklab(69.04% -0.1466 0.1026)
OKLCHoklch(69.04% 0.179 145)
XYZxyz(20.5541, 35.5732, 12.9894)
Luminance0.3558 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B74E #B742AB
analogous
#71B742 #42B74E #42B789
triadic
#42B74E #4E42B7 #B74E42
tetradic
#42B74E #4271B7 #B742AB #B78942
square
#42B74E #4271B7 #B742AB #B78942
split-complementary
#42B74E #8942B7 #B74271
monochromatic
#225D28 #328A3B #42B74E #6CCA76 #99DAA0

Accessibility & contrast

On white

2.59
#42B74E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#42B74E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42B74E
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42B74E#FFFFFF#000000##000000
##42B74E1.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA744
Deuteranopia (green-blind)
#AC9D56
Tritanopia (blue-blind)
#25B2A0
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #42b74e;
/* rgb */ color: rgb(66, 183, 78);
/* oklch */ color: oklch(69.0% 0.179 145.0);
Tailwind
colors: {
  custom: {
    50: '#84ce83',
    500: '#42b74e',
    950: '#000000',
  },
}
SCSS
$custom: #42b74e;
$custom-light: #84ce83;
$custom-dark: #000000;
JSON
{
  "hex": "#42b74e",
  "rgb": {
    "r": 66,
    "g": 183,
    "b": 78
  },
  "hsl": {
    "h": 126.154,
    "s": 46.988,
    "l": 48.824
  },
  "oklch": {
    "l": 0.69044,
    "c": 0.17893,
    "h": 145
  },
  "luminance": 0.35575
}

Semantic roles & 50–950 ramp

primary
#42B74E
secondary
#C68FC1
accent
#51C9D7
background
#F8FCF8
surface
#F0F9EF
border
#CBD2CA
text
#0C140B
muted
#7D827C

Preview Lab

Preview with #42B74E

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

Preview Lab → · Contrast checker → · Palette generator →

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