#42B45F#42B45F

#42B45F is a light, vivid green. Relative luminance 0.346; OKLCH L 68.5% C 0.160 H 148.7°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#42B45F
RGBrgb(66, 180, 95)
HSLhsl(135, 46%, 48%)
HSVhsv(135, 63%, 71%)
CMYKcmyk(63.3%, 0%, 47.2%, 29.4%)
CIE-LABlab(65.46, -50.61, 33.98)
CIE-LCHlch(65.46, 60.96, 146.12°)
OKLaboklab(68.51% -0.1366 0.083)
OKLCHoklch(68.51% 0.16 148.7)
XYZxyz(20.6321, 34.6249, 16.4202)
Luminance0.3463 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B45F #B44297
analogous
#5EB442 #42B45F #42B498
triadic
#42B45F #5F42B4 #B45F42
tetradic
#42B45F #425EB4 #B44297 #B49842
square
#42B45F #425EB4 #B44297 #B49842
split-complementary
#42B45F #9842B4 #B4425E
monochromatic
#215A30 #328747 #42B45F #6BC983 #97D9A8

Accessibility & contrast

On white

2.65
#42B45F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#42B45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42B45F
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42B45F#FFFFFF#000000##000000
##42B45F1.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A558
Deuteranopia (green-blind)
#A79B65
Tritanopia (blue-blind)
#1EB1A0
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #42b45f;
/* rgb */ color: rgb(66, 180, 95);
/* oklch */ color: oklch(68.5% 0.160 148.7);
Tailwind
colors: {
  custom: {
    50: '#83cb8e',
    500: '#42b45f',
    950: '#000000',
  },
}
SCSS
$custom: #42b45f;
$custom-light: #83cb8e;
$custom-dark: #000000;
JSON
{
  "hex": "#42b45f",
  "rgb": {
    "r": 66,
    "g": 180,
    "b": 95
  },
  "hsl": {
    "h": 135.263,
    "s": 46.341,
    "l": 48.235
  },
  "oklch": {
    "l": 0.68506,
    "c": 0.15984,
    "h": 148.7
  },
  "luminance": 0.34627
}

Semantic roles & 50–950 ramp

primary
#42B45F
secondary
#C58DB7
accent
#52B4D6
background
#F8FCF8
surface
#F0F9F0
border
#CBD2CB
text
#0C130C
muted
#7D827D

Preview Lab

Preview with #42B45F

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

Preview Lab → · Contrast checker → · Palette generator →

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