#42A855#42A855

#42A855 is a light, vivid green. Relative luminance 0.298; OKLCH L 65.2% C 0.153 H 147.2°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#42A855
RGBrgb(66, 168, 85)
HSLhsl(131, 44%, 46%)
HSVhsv(131, 61%, 66%)
CMYKcmyk(60.7%, 0%, 49.4%, 34.1%)
CIE-LABlab(61.50, -47.50, 34.12)
CIE-LCHlch(61.50, 58.49, 144.31°)
OKLaboklab(65.2% -0.1284 0.0828)
OKLCHoklch(65.2% 0.153 147.2)
XYZxyz(17.8879, 29.8177, 13.4053)
Luminance0.2982 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A855 #A84295
analogous
#62A842 #42A855 #42A888
triadic
#42A855 #5542A8 #A85542
tetradic
#42A855 #4262A8 #A84295 #A88842
square
#42A855 #4262A8 #A84295 #A88842
split-complementary
#42A855 #8842A8 #A84262
monochromatic
#1F5029 #317C3F #42A855 #65C276 #91D49D

Accessibility & contrast

On white

3.02
#42A855 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#42A855 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A855
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A855#FFFFFF#000000##000000
##42A8551.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9A4E
Deuteranopia (green-blind)
#9D915B
Tritanopia (blue-blind)
#29A495
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #42a855;
/* rgb */ color: rgb(66, 168, 85);
/* oklch */ color: oklch(65.2% 0.153 147.2);
Tailwind
colors: {
  custom: {
    50: '#81c386',
    500: '#42a855',
    950: '#000000',
  },
}
SCSS
$custom: #42a855;
$custom-light: #81c386;
$custom-dark: #000000;
JSON
{
  "hex": "#42a855",
  "rgb": {
    "r": 66,
    "g": 168,
    "b": 85
  },
  "hsl": {
    "h": 131.176,
    "s": 43.59,
    "l": 45.882
  },
  "oklch": {
    "l": 0.652,
    "c": 0.15283,
    "h": 147.2
  },
  "luminance": 0.29819
}

Semantic roles & 50–950 ramp

primary
#42A855
secondary
#BF87B5
accent
#54BCD3
background
#F8FCF8
surface
#EFF8EF
border
#CAD1CA
text
#0B120B
muted
#7C817C

Preview Lab

Preview with #42A855

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

Preview Lab → · Contrast checker → · Palette generator →

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