#42BC4F#42BC4F

#42BC4F is a light, vivid green. Relative luminance 0.377; OKLCH L 70.4% C 0.184 H 145.0°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#42BC4F
RGBrgb(66, 188, 79)
HSLhsl(126, 48%, 50%)
HSVhsv(126, 65%, 74%)
CMYKcmyk(64.9%, 0%, 58%, 26.3%)
CIE-LABlab(67.79, -55.85, 44.66)
CIE-LCHlch(67.79, 71.51, 141.35°)
OKLaboklab(70.37% -0.1511 0.1057)
OKLCHoklch(70.37% 0.184 145)
XYZxyz(21.6399, 37.6870, 13.5295)
Luminance0.3769 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42BC4F #BC42AF
analogous
#72BC42 #42BC4F #42BC8C
triadic
#42BC4F #4F42BC #BC4F42
tetradic
#42BC4F #4272BC #BC42AF #BC8C42
square
#42BC4F #4272BC #BC42AF #BC8C42
split-complementary
#42BC4F #8C42BC #BC4272
monochromatic
#226129 #328F3C #42BC4F #6FCC79 #9CDCA3

Accessibility & contrast

On white

2.46
#42BC4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#42BC4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42BC4F
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42BC4F#FFFFFF#000000##000000
##42BC4F1.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAB44
Deuteranopia (green-blind)
#B0A158
Tritanopia (blue-blind)
#22B7A4
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #42bc4f;
/* rgb */ color: rgb(66, 188, 79);
/* oklch */ color: oklch(70.4% 0.184 145.0);
Tailwind
colors: {
  custom: {
    50: '#85d183',
    500: '#42bc4f',
    950: '#000000',
  },
}
SCSS
$custom: #42bc4f;
$custom-light: #85d183;
$custom-dark: #000000;
JSON
{
  "hex": "#42bc4f",
  "rgb": {
    "r": 66,
    "g": 188,
    "b": 79
  },
  "hsl": {
    "h": 126.393,
    "s": 48.031,
    "l": 49.804
  },
  "oklch": {
    "l": 0.70366,
    "c": 0.18443,
    "h": 145
  },
  "luminance": 0.37689
}

Semantic roles & 50–950 ramp

primary
#42BC4F
secondary
#C991C3
accent
#50C9D8
background
#F8FDF8
surface
#F0FAEF
border
#CBD3CA
text
#0C140B
muted
#7D837C

Preview Lab

Preview with #42BC4F

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

Preview Lab → · Contrast checker → · Palette generator →

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