#42B154#42B154

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

Color values

HEX#42B154
RGBrgb(66, 177, 84)
HSLhsl(130, 46%, 48%)
HSVhsv(130, 63%, 69%)
CMYKcmyk(62.7%, 0%, 52.5%, 30.6%)
CIE-LABlab(64.36, -51.12, 38.15)
CIE-LCHlch(64.36, 63.79, 143.27°)
OKLaboklab(67.55% -0.1382 0.0918)
OKLCHoklch(67.55% 0.166 146.4)
XYZxyz(19.5678, 33.2407, 13.7707)
Luminance0.3324 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B154 #B1429F
analogous
#67B142 #42B154 #42B18C
triadic
#42B154 #5442B1 #B15442
tetradic
#42B154 #4267B1 #B1429F #B18C42
square
#42B154 #4267B1 #B1429F #B18C42
split-complementary
#42B154 #8C42B1 #B14267
monochromatic
#21582A #31843F #42B154 #69C778 #96D8A0

Accessibility & contrast

On white

2.75
#42B154 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##42B154#FFFFFF#000000##000000
##42B1541.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42b154;
/* rgb */ color: rgb(66, 177, 84);
/* oklch */ color: oklch(67.6% 0.166 146.4);
Tailwind
colors: {
  custom: {
    50: '#82c986',
    500: '#42b154',
    950: '#000000',
  },
}
SCSS
$custom: #42b154;
$custom-light: #82c986;
$custom-dark: #000000;
JSON
{
  "hex": "#42b154",
  "rgb": {
    "r": 66,
    "g": 177,
    "b": 84
  },
  "hsl": {
    "h": 129.73,
    "s": 45.679,
    "l": 47.647
  },
  "oklch": {
    "l": 0.67551,
    "c": 0.1659,
    "h": 146.4
  },
  "luminance": 0.33243
}

Semantic roles & 50–950 ramp

primary
#42B154
secondary
#C38BBA
accent
#52C0D5
background
#F8FCF8
surface
#F0F8EF
border
#CBD1CA
text
#0C130B
muted
#7D827C

Preview Lab

Preview with #42B154

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

Preview Lab → · Contrast checker → · Palette generator →

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