#42BA46#42BA46

#42BA46 is a light, vivid green. Relative luminance 0.367; OKLCH L 69.7% C 0.189 H 143.7°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#42BA46
RGBrgb(66, 186, 70)
HSLhsl(122, 48%, 49%)
HSVhsv(122, 65%, 73%)
CMYKcmyk(64.5%, 0%, 62.4%, 27.1%)
CIE-LABlab(67.06, -56.19, 47.92)
CIE-LCHlch(67.06, 73.85, 139.54°)
OKLaboklab(69.74% -0.1524 0.112)
OKLCHoklch(69.74% 0.189 143.7)
XYZxyz(20.9099, 36.7162, 11.7781)
Luminance0.3672 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42BA46 #BA42B6
analogous
#7ABA42 #42BA46 #42BA82
triadic
#42BA46 #4642BA #BA4642
tetradic
#42BA46 #427ABA #BA42B6 #BA8242
square
#42BA46 #427ABA #BA42B6 #BA8242
split-complementary
#42BA46 #8242BA #BA427A
monochromatic
#226024 #328D35 #42BA46 #6ECB71 #9BDB9D

Accessibility & contrast

On white

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

On black

8.34
#42BA46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42BA46
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42BA46#FFFFFF#000000##000000
##42BA461.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA939
Deuteranopia (green-blind)
#AF9F50
Tritanopia (blue-blind)
#26B5A1
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #42ba46;
/* rgb */ color: rgb(66, 186, 70);
/* oklch */ color: oklch(69.7% 0.189 143.7);
Tailwind
colors: {
  custom: {
    50: '#85d07e',
    500: '#42ba46',
    950: '#000000',
  },
}
SCSS
$custom: #42ba46;
$custom-light: #85d07e;
$custom-dark: #000000;
JSON
{
  "hex": "#42ba46",
  "rgb": {
    "r": 66,
    "g": 186,
    "b": 70
  },
  "hsl": {
    "h": 122,
    "s": 47.619,
    "l": 49.412
  },
  "oklch": {
    "l": 0.69737,
    "c": 0.18912,
    "h": 143.7
  },
  "luminance": 0.36718
}

Semantic roles & 50–950 ramp

primary
#42BA46
secondary
#C890C6
accent
#51D3D7
background
#F8FCF7
surface
#F0F9EE
border
#CBD2C9
text
#0C140A
muted
#7D827C

Preview Lab

Preview with #42BA46

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

Preview Lab → · Contrast checker → · Palette generator →

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