#42B95F#42B95F

#42B95F is a light, vivid green. Relative luminance 0.367; OKLCH L 69.8% C 0.167 H 148.3°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#42B95F
RGBrgb(66, 185, 95)
HSLhsl(135, 47%, 49%)
HSVhsv(135, 64%, 73%)
CMYKcmyk(64.3%, 0%, 48.6%, 27.5%)
CIE-LABlab(67.04, -52.51, 35.98)
CIE-LCHlch(67.04, 63.65, 145.59°)
OKLaboklab(69.81% -0.1417 0.0875)
OKLCHoklch(69.81% 0.167 148.3)
XYZxyz(21.6597, 36.6802, 16.7628)
Luminance0.3668 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B95F #B9429C
analogous
#61B942 #42B95F #42B99B
triadic
#42B95F #5F42B9 #B95F42
tetradic
#42B95F #4261B9 #B9429C #B99B42
square
#42B95F #4261B9 #B9429C #B99B42
split-complementary
#42B95F #9B42B9 #B94261
monochromatic
#225F31 #328C48 #42B95F #6DCB84 #9ADBAA

Accessibility & contrast

On white

2.52
#42B95F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#42B95F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42B95F
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42B95F#FFFFFF#000000##000000
##42B95F1.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA958
Deuteranopia (green-blind)
#AC9F65
Tritanopia (blue-blind)
#1BB5A4
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #42b95f;
/* rgb */ color: rgb(66, 185, 95);
/* oklch */ color: oklch(69.8% 0.167 148.3);
Tailwind
colors: {
  custom: {
    50: '#84cf8e',
    500: '#42b95f',
    950: '#000000',
  },
}
SCSS
$custom: #42b95f;
$custom-light: #84cf8e;
$custom-dark: #000000;
JSON
{
  "hex": "#42b95f",
  "rgb": {
    "r": 66,
    "g": 185,
    "b": 95
  },
  "hsl": {
    "h": 134.622,
    "s": 47.41,
    "l": 49.216
  },
  "oklch": {
    "l": 0.69808,
    "c": 0.16655,
    "h": 148.3
  },
  "luminance": 0.36682
}

Semantic roles & 50–950 ramp

primary
#42B95F
secondary
#C790BA
accent
#51B6D7
background
#F8FCF8
surface
#F0F9F0
border
#CBD2CB
text
#0C140C
muted
#7D827D

Preview Lab

Preview with #42B95F

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

Preview Lab → · Contrast checker → · Palette generator →

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