#42C95F#42C95F

#42C95F is a light, vivid green. Relative luminance 0.438; OKLCH L 74.0% C 0.187 H 147.2°. Best body text is #000000 at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#42C95F
RGBrgb(66, 201, 95)
HSLhsl(133, 56%, 52%)
HSVhsv(133, 67%, 79%)
CMYKcmyk(67.2%, 0%, 52.7%, 21.2%)
CIE-LABlab(72.06, -58.39, 42.19)
CIE-LCHlch(72.06, 72.04, 144.15°)
OKLaboklab(73.96% -0.1575 0.1014)
OKLCHoklch(73.96% 0.187 147.2)
XYZxyz(25.1972, 43.7551, 17.9419)
Luminance0.4376 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C95F #C942AC
analogous
#68C942 #42C95F #42C9A3
triadic
#42C95F #5F42C9 #C95F42
tetradic
#42C95F #4268C9 #C942AC #C9A342
square
#42C95F #4268C9 #C942AC #C9A342
split-complementary
#42C95F #A342C9 #C94268
monochromatic
#207031 #2EA046 #42C95F #72D787 #A1E4B0

Accessibility & contrast

On white

2.15
#42C95F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.75
#42C95F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C95F
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C95F#FFFFFF#000000##000000
##42C95F1.002.159.759.75
#FFFFFF2.151.0021.0021.00
#0000009.7521.001.001.00
##0000009.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB856
Deuteranopia (green-blind)
#BBAC67
Tritanopia (blue-blind)
#0AC5B1
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #42c95f;
/* rgb */ color: rgb(66, 201, 95);
/* oklch */ color: oklch(74.0% 0.187 147.2);
Tailwind
colors: {
  custom: {
    50: '#87da8f',
    500: '#42c95f',
    950: '#000000',
  },
}
SCSS
$custom: #42c95f;
$custom-light: #87da8f;
$custom-dark: #000000;
JSON
{
  "hex": "#42c95f",
  "rgb": {
    "r": 66,
    "g": 201,
    "b": 95
  },
  "hsl": {
    "h": 132.889,
    "s": 55.556,
    "l": 52.353
  },
  "oklch": {
    "l": 0.73958,
    "c": 0.18731,
    "h": 147.2
  },
  "luminance": 0.43758
}

Semantic roles & 50–950 ramp

primary
#42C95F
secondary
#D196C4
accent
#49BFDF
background
#F8FDF8
surface
#F0FBF0
border
#CBD4CB
text
#0D150C
muted
#7D837D

Preview Lab

Preview with #42C95F

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

Preview Lab → · Contrast checker → · Palette generator →

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