#42A152#42A152

#42A152 is a light, vivid green. Relative luminance 0.273; OKLCH L 63.3% C 0.146 H 146.9°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#42A152
RGBrgb(66, 161, 82)
HSLhsl(130, 42%, 45%)
HSVhsv(130, 59%, 63%)
CMYKcmyk(59%, 0%, 49.1%, 36.9%)
CIE-LABlab(59.21, -45.18, 32.80)
CIE-LCHlch(59.21, 55.83, 144.02°)
OKLaboklab(63.31% -0.1223 0.0797)
OKLCHoklch(63.31% 0.146 146.9)
XYZxyz(16.5136, 27.2557, 12.3716)
Luminance0.2726 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A152 #A14291
analogous
#62A142 #42A152 #42A182
triadic
#42A152 #5242A1 #A15242
tetradic
#42A152 #4262A1 #A14291 #A18242
square
#42A152 #4262A1 #A14291 #A18242
split-complementary
#42A152 #8242A1 #A14262
monochromatic
#1E4A26 #30763C #42A152 #62BF71 #8DD098

Accessibility & contrast

On white

3.26
#42A152 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#42A152 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A152
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A152#FFFFFF#000000##000000
##42A1521.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3944C
Deuteranopia (green-blind)
#978B57
Tritanopia (blue-blind)
#2D9E8E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #42a152;
/* rgb */ color: rgb(66, 161, 82);
/* oklch */ color: oklch(63.3% 0.146 146.9);
Tailwind
colors: {
  custom: {
    50: '#80be84',
    500: '#42a152',
    950: '#000000',
  },
}
SCSS
$custom: #42a152;
$custom-light: #80be84;
$custom-dark: #000000;
JSON
{
  "hex": "#42a152",
  "rgb": {
    "r": 66,
    "g": 161,
    "b": 82
  },
  "hsl": {
    "h": 130.105,
    "s": 41.85,
    "l": 44.51
  },
  "oklch": {
    "l": 0.63305,
    "c": 0.14595,
    "h": 146.9
  },
  "luminance": 0.27257
}

Semantic roles & 50–950 ramp

primary
#42A152
secondary
#BB83B2
accent
#56BDD2
background
#F8FBF8
surface
#EFF7EF
border
#CAD0CA
text
#0B120B
muted
#7C817C

Preview Lab

Preview with #42A152

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

Preview Lab → · Contrast checker → · Palette generator →

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