#42BB45#42BB45

#42BB45 is a light, vivid green. Relative luminance 0.371; OKLCH L 70.0% C 0.191 H 143.6°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#42BB45
RGBrgb(66, 187, 69)
HSLhsl(121, 48%, 50%)
HSVhsv(121, 65%, 73%)
CMYKcmyk(64.7%, 0%, 63.1%, 26.7%)
CIE-LABlab(67.37, -56.66, 48.70)
CIE-LCHlch(67.37, 74.72, 139.32°)
OKLaboklab(69.99% -0.1537 0.1135)
OKLCHoklch(69.99% 0.191 143.6)
XYZxyz(21.0900, 37.1264, 11.6838)
Luminance0.3713 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42BB45 #BB42B8
analogous
#7BBB42 #42BB45 #42BB82
triadic
#42BB45 #4542BB #BB4542
tetradic
#42BB45 #427BBB #BB42B8 #BB8242
square
#42BB45 #427BBB #BB42B8 #BB8242
split-complementary
#42BB45 #8242BB #BB427B
monochromatic
#226124 #328E34 #42BB45 #6ECC71 #9CDC9D

Accessibility & contrast

On white

2.49
#42BB45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.43
#42BB45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42BB45
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42BB45#FFFFFF#000000##000000
##42BB451.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA37
Deuteranopia (green-blind)
#B0A04F
Tritanopia (blue-blind)
#26B6A2
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #42bb45;
/* rgb */ color: rgb(66, 187, 69);
/* oklch */ color: oklch(70.0% 0.191 143.6);
Tailwind
colors: {
  custom: {
    50: '#85d07d',
    500: '#42bb45',
    950: '#000000',
  },
}
SCSS
$custom: #42bb45;
$custom-light: #85d07d;
$custom-dark: #000000;
JSON
{
  "hex": "#42bb45",
  "rgb": {
    "r": 66,
    "g": 187,
    "b": 69
  },
  "hsl": {
    "h": 121.488,
    "s": 47.826,
    "l": 49.608
  },
  "oklch": {
    "l": 0.69989,
    "c": 0.19111,
    "h": 143.6
  },
  "luminance": 0.37129
}

Semantic roles & 50–950 ramp

primary
#42BB45
secondary
#C891C7
accent
#50D4D7
background
#F8FCF7
surface
#F0F9EE
border
#CBD2C9
text
#0C140A
muted
#7D827C

Preview Lab

Preview with #42BB45

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

Preview Lab → · Contrast checker → · Palette generator →

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