#42BF4F#42BF4F

#42BF4F is a light, vivid green. Relative luminance 0.390; OKLCH L 71.2% C 0.188 H 144.9°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#42BF4F
RGBrgb(66, 191, 79)
HSLhsl(126, 49%, 50%)
HSVhsv(126, 65%, 75%)
CMYKcmyk(65.4%, 0%, 58.6%, 25.1%)
CIE-LABlab(68.74, -56.93, 45.77)
CIE-LCHlch(68.74, 73.04, 141.20°)
OKLaboklab(71.15% -0.154 0.1081)
OKLCHoklch(71.15% 0.188 144.9)
XYZxyz(22.2874, 38.9821, 13.7454)
Luminance0.3898 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42BF4F #BF42B2
analogous
#73BF42 #42BF4F #42BF8D
triadic
#42BF4F #4F42BF #BF4F42
tetradic
#42BF4F #4273BF #BF42B2 #BF8D42
square
#42BF4F #4273BF #BF42B2 #BF8D42
split-complementary
#42BF4F #8D42BF #BF4273
monochromatic
#226529 #32923C #42BF4F #70CE7A #9DDEA4

Accessibility & contrast

On white

2.39
#42BF4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.80
#42BF4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42BF4F
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42BF4F#FFFFFF#000000##000000
##42BF4F1.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AE44
Deuteranopia (green-blind)
#B3A458
Tritanopia (blue-blind)
#20BAA7
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #42bf4f;
/* rgb */ color: rgb(66, 191, 79);
/* oklch */ color: oklch(71.2% 0.188 144.9);
Tailwind
colors: {
  custom: {
    50: '#85d384',
    500: '#42bf4f',
    950: '#000000',
  },
}
SCSS
$custom: #42bf4f;
$custom-light: #85d384;
$custom-dark: #000000;
JSON
{
  "hex": "#42bf4f",
  "rgb": {
    "r": 66,
    "g": 191,
    "b": 79
  },
  "hsl": {
    "h": 126.24,
    "s": 49.407,
    "l": 50.392
  },
  "oklch": {
    "l": 0.7115,
    "c": 0.18819,
    "h": 144.9
  },
  "luminance": 0.38984
}

Semantic roles & 50–950 ramp

primary
#42BF4F
secondary
#CA93C4
accent
#4FCBD9
background
#F8FDF8
surface
#F0FAEF
border
#CBD3CA
text
#0C140B
muted
#7D837C

Preview Lab

Preview with #42BF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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