#42BA3B#42BA3B

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

Color values

HEX#42BA3B
RGBrgb(66, 186, 59)
HSLhsl(117, 52%, 48%)
HSVhsv(117, 68%, 73%)
CMYKcmyk(64.5%, 0%, 68.3%, 27.1%)
CIE-LABlab(66.97, -57.31, 52.47)
CIE-LCHlch(66.97, 77.70, 137.52°)
OKLaboklab(69.63% -0.156 0.1204)
OKLCHoklch(69.63% 0.197 142.3)
XYZxyz(20.5939, 36.5898, 10.1141)
Luminance0.3659 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42BA3B #B33BBA
analogous
#81BA3B #42BA3B #3BBA73
triadic
#42BA3B #3B42BA #BA3B42
tetradic
#42BA3B #3B81BA #B33BBA #BA733B
square
#42BA3B #3B81BA #B33BBA #BA733B
split-complementary
#42BA3B #733BBA #BA3B81
monochromatic
#215D1E #328C2C #42BA3B #6ACE64 #97DD93

Accessibility & contrast

On white

2.52
#42BA3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#42BA3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42BA3B
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42BA3B#FFFFFF#000000##000000
##42BA3B1.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42ba3b;
/* rgb */ color: rgb(66, 186, 59);
/* oklch */ color: oklch(69.6% 0.197 142.3);
Tailwind
colors: {
  custom: {
    50: '#85d077',
    500: '#42ba3b',
    950: '#000000',
  },
}
SCSS
$custom: #42ba3b;
$custom-light: #85d077;
$custom-dark: #000000;
JSON
{
  "hex": "#42ba3b",
  "rgb": {
    "r": 66,
    "g": 186,
    "b": 59
  },
  "hsl": {
    "h": 116.693,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.69627,
    "c": 0.19707,
    "h": 142.3
  },
  "luminance": 0.36592
}

Semantic roles & 50–950 ramp

primary
#42BA3B
secondary
#C489C8
accent
#4DDBD3
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1409
muted
#7D827B

Preview Lab

Preview with #42BA3B

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

Preview Lab → · Contrast checker → · Palette generator →

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