#42BC45#42BC45

#42BC45 is a light, vivid green. Relative luminance 0.376; OKLCH L 70.3% C 0.192 H 143.5°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#42BC45
RGBrgb(66, 188, 69)
HSLhsl(121, 48%, 50%)
HSVhsv(121, 65%, 74%)
CMYKcmyk(64.9%, 0%, 63.3%, 26.3%)
CIE-LABlab(67.69, -57.01, 49.06)
CIE-LCHlch(67.69, 75.21, 139.29°)
OKLaboklab(70.25% -0.1547 0.1143)
OKLCHoklch(70.25% 0.192 143.5)
XYZxyz(21.3029, 37.5522, 11.7547)
Luminance0.3755 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42BC45 #BC42B9
analogous
#7CBC42 #42BC45 #42BC82
triadic
#42BC45 #4542BC #BC4542
tetradic
#42BC45 #427CBC #BC42B9 #BC8242
square
#42BC45 #427CBC #BC42B9 #BC8242
split-complementary
#42BC45 #8242BC #BC427C
monochromatic
#226124 #328F34 #42BC45 #6FCC71 #9CDC9E

Accessibility & contrast

On white

2.47
#42BC45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.51
#42BC45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42BC45
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42BC45#FFFFFF#000000##000000
##42BC451.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB37
Deuteranopia (green-blind)
#B1A14F
Tritanopia (blue-blind)
#26B7A3
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #42bc45;
/* rgb */ color: rgb(66, 188, 69);
/* oklch */ color: oklch(70.3% 0.192 143.5);
Tailwind
colors: {
  custom: {
    50: '#85d17d',
    500: '#42bc45',
    950: '#000000',
  },
}
SCSS
$custom: #42bc45;
$custom-light: #85d17d;
$custom-dark: #000000;
JSON
{
  "hex": "#42bc45",
  "rgb": {
    "r": 66,
    "g": 188,
    "b": 69
  },
  "hsl": {
    "h": 121.475,
    "s": 48.031,
    "l": 49.804
  },
  "oklch": {
    "l": 0.70251,
    "c": 0.19233,
    "h": 143.5
  },
  "luminance": 0.37554
}

Semantic roles & 50–950 ramp

primary
#42BC45
secondary
#C991C7
accent
#50D4D8
background
#F8FDF7
surface
#F0FAEE
border
#CBD3C9
text
#0C140A
muted
#7D837C

Preview Lab

Preview with #42BC45

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

Preview Lab → · Contrast checker → · Palette generator →

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