#42AD2F#42AD2F

#42AD2F is a light, vivid green. Relative luminance 0.313; OKLCH L 66.1% C 0.189 H 140.9°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#42AD2F
RGBrgb(66, 173, 47)
HSLhsl(111, 57%, 43%)
HSVhsv(111, 73%, 68%)
CMYKcmyk(61.8%, 0%, 72.8%, 32.2%)
CIE-LABlab(62.72, -53.76, 52.70)
CIE-LCHlch(62.72, 75.28, 135.57°)
OKLaboklab(66.08% -0.147 0.1194)
OKLCHoklch(66.08% 0.189 140.9)
XYZxyz(17.7026, 31.2490, 7.7875)
Luminance0.3125 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42AD2F #9A2FAD
analogous
#81AD2F #42AD2F #2FAD5B
triadic
#42AD2F #2F42AD #AD2F42
tetradic
#42AD2F #2F81AD #9A2FAD #AD5B2F
square
#42AD2F #2F81AD #9A2FAD #AD5B2F
split-complementary
#42AD2F #5B2FAD #AD2F81
monochromatic
#1D4D15 #307D22 #42AD2F #5FCE4B #8ADB7B

Accessibility & contrast

On white

2.90
#42AD2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#42AD2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42AD2F
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42AD2F#FFFFFF#000000##000000
##42AD2F1.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D19
Deuteranopia (green-blind)
#A4943C
Tritanopia (blue-blind)
#31A794
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #42ad2f;
/* rgb */ color: rgb(66, 173, 47);
/* oklch */ color: oklch(66.1% 0.189 140.9);
Tailwind
colors: {
  custom: {
    50: '#83c66f',
    500: '#42ad2f',
    950: '#000000',
  },
}
SCSS
$custom: #42ad2f;
$custom-light: #83c66f;
$custom-dark: #000000;
JSON
{
  "hex": "#42ad2f",
  "rgb": {
    "r": 66,
    "g": 173,
    "b": 47
  },
  "hsl": {
    "h": 110.952,
    "s": 57.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.66083,
    "c": 0.18941,
    "h": 140.9
  },
  "luminance": 0.31251
}

Semantic roles & 50–950 ramp

primary
#42AD2F
secondary
#B874C4
accent
#47E1C9
background
#F8FCF7
surface
#F0F8ED
border
#CBD1C8
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #42AD2F

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

Preview Lab → · Contrast checker → · Palette generator →

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