#42B155#42B155

#42B155 is a light, vivid green. Relative luminance 0.333; OKLCH L 67.6% C 0.165 H 146.6°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#42B155
RGBrgb(66, 177, 85)
HSLhsl(130, 46%, 48%)
HSVhsv(130, 63%, 69%)
CMYKcmyk(62.7%, 0%, 52%, 30.6%)
CIE-LABlab(64.37, -50.98, 37.67)
CIE-LCHlch(64.37, 63.39, 143.54°)
OKLaboklab(67.57% -0.1378 0.0908)
OKLCHoklch(67.57% 0.165 146.6)
XYZxyz(19.6073, 33.2565, 13.9784)
Luminance0.3326 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B155 #B1429E
analogous
#67B142 #42B155 #42B18C
triadic
#42B155 #5542B1 #B15542
tetradic
#42B155 #4267B1 #B1429E #B18C42
square
#42B155 #4267B1 #B1429E #B18C42
split-complementary
#42B155 #8C42B1 #B14267
monochromatic
#21582A #318440 #42B155 #69C779 #96D8A1

Accessibility & contrast

On white

2.74
#42B155 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#42B155 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42B155
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42B155#FFFFFF#000000##000000
##42B1551.002.747.657.65
#FFFFFF2.741.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A24D
Deuteranopia (green-blind)
#A5985C
Tritanopia (blue-blind)
#25AD9C
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #42b155;
/* rgb */ color: rgb(66, 177, 85);
/* oklch */ color: oklch(67.6% 0.165 146.6);
Tailwind
colors: {
  custom: {
    50: '#82c987',
    500: '#42b155',
    950: '#000000',
  },
}
SCSS
$custom: #42b155;
$custom-light: #82c987;
$custom-dark: #000000;
JSON
{
  "hex": "#42b155",
  "rgb": {
    "r": 66,
    "g": 177,
    "b": 85
  },
  "hsl": {
    "h": 130.27,
    "s": 45.679,
    "l": 47.647
  },
  "oklch": {
    "l": 0.67565,
    "c": 0.165,
    "h": 146.6
  },
  "luminance": 0.33258
}

Semantic roles & 50–950 ramp

primary
#42B155
secondary
#C38BBA
accent
#52BFD5
background
#F8FCF8
surface
#F0F8F0
border
#CBD1CB
text
#0C130B
muted
#7D827C

Preview Lab

Preview with #42B155

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

Preview Lab → · Contrast checker → · Palette generator →

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