#42AB3D#42AB3D

#42AB3D is a light, vivid green. Relative luminance 0.306; OKLCH L 65.7% C 0.177 H 142.5°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#42AB3D
RGBrgb(66, 171, 61)
HSLhsl(117, 47%, 45%)
HSVhsv(117, 64%, 67%)
CMYKcmyk(61.4%, 0%, 64.3%, 32.9%)
CIE-LABlab(62.18, -51.74, 46.43)
CIE-LCHlch(62.18, 69.52, 138.10°)
OKLaboklab(65.68% -0.1408 0.1079)
OKLCHoklch(65.68% 0.177 142.5)
XYZxyz(17.6510, 30.6193, 9.3939)
Luminance0.3062 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42AB3D #A63DAB
analogous
#79AB3D #42AB3D #3DAB6F
triadic
#42AB3D #3D42AB #AB3D42
tetradic
#42AB3D #3D79AB #A63DAB #AB6F3D
square
#42AB3D #3D79AB #A63DAB #AB6F3D
split-complementary
#42AB3D #6F3DAB #AB3D79
monochromatic
#1F511D #317E2D #42AB3D #64C65F #90D68C

Accessibility & contrast

On white

2.95
#42AB3D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#42AB3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42AB3D
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42AB3D#FFFFFF#000000##000000
##42AB3D1.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9C30
Deuteranopia (green-blind)
#A29346
Tritanopia (blue-blind)
#2FA694
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #42ab3d;
/* rgb */ color: rgb(66, 171, 61);
/* oklch */ color: oklch(65.7% 0.177 142.5);
Tailwind
colors: {
  custom: {
    50: '#82c577',
    500: '#42ab3d',
    950: '#000000',
  },
}
SCSS
$custom: #42ab3d;
$custom-light: #82c577;
$custom-dark: #000000;
JSON
{
  "hex": "#42ab3d",
  "rgb": {
    "r": 66,
    "g": 171,
    "b": 61
  },
  "hsl": {
    "h": 117.273,
    "s": 47.414,
    "l": 45.49
  },
  "oklch": {
    "l": 0.65679,
    "c": 0.17737,
    "h": 142.5
  },
  "luminance": 0.30621
}

Semantic roles & 50–950 ramp

primary
#42AB3D
secondary
#BE83C1
accent
#51D7D1
background
#F8FCF7
surface
#F0F8ED
border
#CBD1C8
text
#0C1309
muted
#7D827B

Preview Lab

Preview with #42AB3D

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

Preview Lab → · Contrast checker → · Palette generator →

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