#42B95E#42B95E

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

Color values

HEX#42B95E
RGBrgb(66, 185, 94)
HSLhsl(134, 47%, 49%)
HSVhsv(134, 64%, 73%)
CMYKcmyk(64.3%, 0%, 49.2%, 27.5%)
CIE-LABlab(67.02, -52.66, 36.46)
CIE-LCHlch(67.02, 64.05, 145.30°)
OKLaboklab(69.79% -0.1421 0.0886)
OKLCHoklch(69.79% 0.167 148.1)
XYZxyz(21.6146, 36.6621, 16.5249)
Luminance0.3666 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B95E #B9429D
analogous
#62B942 #42B95E #42B99A
triadic
#42B95E #5E42B9 #B95E42
tetradic
#42B95E #4262B9 #B9429D #B99A42
square
#42B95E #4262B9 #B9429D #B99A42
split-complementary
#42B95E #9A42B9 #B94262
monochromatic
#225F30 #328C47 #42B95E #6DCB83 #9ADBAA

Accessibility & contrast

On white

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

On black

8.33
#42B95E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42B95E
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42B95E#FFFFFF#000000##000000
##42B95E1.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42b95e;
/* rgb */ color: rgb(66, 185, 94);
/* oklch */ color: oklch(69.8% 0.167 148.1);
Tailwind
colors: {
  custom: {
    50: '#84cf8d',
    500: '#42b95e',
    950: '#000000',
  },
}
SCSS
$custom: #42b95e;
$custom-light: #84cf8d;
$custom-dark: #000000;
JSON
{
  "hex": "#42b95e",
  "rgb": {
    "r": 66,
    "g": 185,
    "b": 94
  },
  "hsl": {
    "h": 134.118,
    "s": 47.41,
    "l": 49.216
  },
  "oklch": {
    "l": 0.69793,
    "c": 0.16746,
    "h": 148.1
  },
  "luminance": 0.36664
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #42B95E

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

Preview Lab → · Contrast checker → · Palette generator →

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