#42B754#42B754

#42B754 is a light, vivid green. Relative luminance 0.357; OKLCH L 69.1% C 0.174 H 146.1°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#42B754
RGBrgb(66, 183, 84)
HSLhsl(129, 47%, 49%)
HSVhsv(129, 64%, 72%)
CMYKcmyk(63.9%, 0%, 54.1%, 28.2%)
CIE-LABlab(66.26, -53.37, 40.47)
CIE-LCHlch(66.26, 66.98, 142.83°)
OKLaboklab(69.12% -0.1442 0.0969)
OKLCHoklch(69.12% 0.174 146.1)
XYZxyz(20.7791, 35.6632, 14.1744)
Luminance0.3567 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B754 #B742A5
analogous
#6BB742 #42B754 #42B78F
triadic
#42B754 #5442B7 #B75442
tetradic
#42B754 #426BB7 #B742A5 #B78F42
square
#42B754 #426BB7 #B742A5 #B78F42
split-complementary
#42B754 #8F42B7 #B7426B
monochromatic
#225D2B #328A3F #42B754 #6CCA7B #99DAA3

Accessibility & contrast

On white

2.58
#42B754 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#42B754 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42B754
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42B754#FFFFFF#000000##000000
##42B7541.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA74B
Deuteranopia (green-blind)
#AB9D5B
Tritanopia (blue-blind)
#22B3A1
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #42b754;
/* rgb */ color: rgb(66, 183, 84);
/* oklch */ color: oklch(69.1% 0.174 146.1);
Tailwind
colors: {
  custom: {
    50: '#84ce86',
    500: '#42b754',
    950: '#000000',
  },
}
SCSS
$custom: #42b754;
$custom-light: #84ce86;
$custom-dark: #000000;
JSON
{
  "hex": "#42b754",
  "rgb": {
    "r": 66,
    "g": 183,
    "b": 84
  },
  "hsl": {
    "h": 129.231,
    "s": 46.988,
    "l": 48.824
  },
  "oklch": {
    "l": 0.69123,
    "c": 0.17378,
    "h": 146.1
  },
  "luminance": 0.35665
}

Semantic roles & 50–950 ramp

primary
#42B754
secondary
#C68FBE
accent
#51C2D7
background
#F8FCF8
surface
#F0F9F0
border
#CBD2CB
text
#0C140B
muted
#7D827C

Preview Lab

Preview with #42B754

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

Preview Lab → · Contrast checker → · Palette generator →

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