#42B347#42B347

#42B347 is a light, vivid green. Relative luminance 0.339; OKLCH L 67.9% C 0.180 H 144.0°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#42B347
RGBrgb(66, 179, 71)
HSLhsl(123, 46%, 48%)
HSVhsv(123, 63%, 70%)
CMYKcmyk(63.1%, 0%, 60.3%, 29.8%)
CIE-LABlab(64.84, -53.56, 44.94)
CIE-LCHlch(64.84, 69.91, 140.00°)
OKLaboklab(67.91% -0.1452 0.1057)
OKLCHoklch(67.91% 0.18 144)
XYZxyz(19.5030, 33.8515, 11.4662)
Luminance0.3385 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B347 #B342AE
analogous
#75B342 #42B347 #42B37F
triadic
#42B347 #4742B3 #B34742
tetradic
#42B347 #4275B3 #B342AE #B37F42
square
#42B347 #4275B3 #B342AE #B37F42
split-complementary
#42B347 #7F42B3 #B34275
monochromatic
#215A24 #328635 #42B347 #6AC86E #97D99A

Accessibility & contrast

On white

2.70
#42B347 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#42B347 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42B347
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42B347#FFFFFF#000000##000000
##42B3471.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A33B
Deuteranopia (green-blind)
#A89A50
Tritanopia (blue-blind)
#29AE9C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #42b347;
/* rgb */ color: rgb(66, 179, 71);
/* oklch */ color: oklch(67.9% 0.180 144.0);
Tailwind
colors: {
  custom: {
    50: '#83cb7e',
    500: '#42b347',
    950: '#000000',
  },
}
SCSS
$custom: #42b347;
$custom-light: #83cb7e;
$custom-dark: #000000;
JSON
{
  "hex": "#42b347",
  "rgb": {
    "r": 66,
    "g": 179,
    "b": 71
  },
  "hsl": {
    "h": 122.655,
    "s": 46.122,
    "l": 48.039
  },
  "oklch": {
    "l": 0.67906,
    "c": 0.17961,
    "h": 144
  },
  "luminance": 0.33853
}

Semantic roles & 50–950 ramp

primary
#42B347
secondary
#C48CC2
accent
#52D0D6
background
#F8FCF7
surface
#F0F9EE
border
#CBD2C9
text
#0C130A
muted
#7D827C

Preview Lab

Preview with #42B347

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

Preview Lab → · Contrast checker → · Palette generator →

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