#42BB3A#42BB3A

#42BB3A is a light, vivid green. Relative luminance 0.370; OKLCH L 69.9% C 0.199 H 142.2°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#42BB3A
RGBrgb(66, 187, 58)
HSLhsl(116, 53%, 48%)
HSVhsv(116, 69%, 73%)
CMYKcmyk(64.7%, 0%, 69%, 26.7%)
CIE-LABlab(67.28, -57.75, 53.20)
CIE-LCHlch(67.28, 78.52, 137.35°)
OKLaboklab(69.88% -0.1572 0.1218)
OKLCHoklch(69.88% 0.199 142.2)
XYZxyz(20.7797, 37.0023, 10.0492)
Luminance0.3700 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42BB3A #B33ABB
analogous
#82BB3A #42BB3A #3ABB72
triadic
#42BB3A #3A42BB #BB3A42
tetradic
#42BB3A #3A82BB #B33ABB #BB723A
square
#42BB3A #3A82BB #B33ABB #BB723A
split-complementary
#42BB3A #723ABB #BB3A82
monochromatic
#215E1D #328C2C #42BB3A #6ACF63 #97DD92

Accessibility & contrast

On white

2.50
#42BB3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#42BB3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42BB3A
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42BB3A#FFFFFF#000000##000000
##42BB3A1.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA27
Deuteranopia (green-blind)
#B1A046
Tritanopia (blue-blind)
#2AB5A1
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #42bb3a;
/* rgb */ color: rgb(66, 187, 58);
/* oklch */ color: oklch(69.9% 0.199 142.2);
Tailwind
colors: {
  custom: {
    50: '#85d077',
    500: '#42bb3a',
    950: '#000000',
  },
}
SCSS
$custom: #42bb3a;
$custom-light: #85d077;
$custom-dark: #000000;
JSON
{
  "hex": "#42bb3a",
  "rgb": {
    "r": 66,
    "g": 187,
    "b": 58
  },
  "hsl": {
    "h": 116.279,
    "s": 52.653,
    "l": 48.039
  },
  "oklch": {
    "l": 0.69882,
    "c": 0.19891,
    "h": 142.2
  },
  "luminance": 0.37004
}

Semantic roles & 50–950 ramp

primary
#42BB3A
secondary
#C488C8
accent
#4CDCD3
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1409
muted
#7D827B

Preview Lab

Preview with #42BB3A

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

Preview Lab → · Contrast checker → · Palette generator →

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