#42BA39#42BA39

#42BA39 is a light, vivid green. Relative luminance 0.366; OKLCH L 69.6% C 0.198 H 142.1°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#42BA39
RGBrgb(66, 186, 57)
HSLhsl(116, 53%, 48%)
HSVhsv(116, 69%, 73%)
CMYKcmyk(64.5%, 0%, 69.4%, 27.1%)
CIE-LABlab(66.95, -57.49, 53.25)
CIE-LCHlch(66.95, 78.36, 137.19°)
OKLaboklab(69.61% -0.1566 0.1218)
OKLCHoklch(69.61% 0.198 142.1)
XYZxyz(20.5431, 36.5694, 9.8461)
Luminance0.3657 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42BA39 #B139BA
analogous
#82BA39 #42BA39 #39BA71
triadic
#42BA39 #3942BA #BA3942
tetradic
#42BA39 #3982BA #B139BA #BA7139
square
#42BA39 #3982BA #B139BA #BA7139
split-complementary
#42BA39 #7139BA #BA3982
monochromatic
#215C1C #318B2B #42BA39 #69CF61 #96DD90

Accessibility & contrast

On white

2.53
#42BA39 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#42BA39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42BA39
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42BA39#FFFFFF#000000##000000
##42BA391.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA926
Deuteranopia (green-blind)
#B09F45
Tritanopia (blue-blind)
#2AB4A0
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #42ba39;
/* rgb */ color: rgb(66, 186, 57);
/* oklch */ color: oklch(69.6% 0.198 142.1);
Tailwind
colors: {
  custom: {
    50: '#85d076',
    500: '#42ba39',
    950: '#000000',
  },
}
SCSS
$custom: #42ba39;
$custom-light: #85d076;
$custom-dark: #000000;
JSON
{
  "hex": "#42ba39",
  "rgb": {
    "r": 66,
    "g": 186,
    "b": 57
  },
  "hsl": {
    "h": 115.814,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.6961,
    "c": 0.1984,
    "h": 142.1
  },
  "luminance": 0.36571
}

Semantic roles & 50–950 ramp

primary
#42BA39
secondary
#C387C8
accent
#4BDCD2
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1409
muted
#7D827B

Preview Lab

Preview with #42BA39

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

Preview Lab → · Contrast checker → · Palette generator →

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