#42AA2F#42AA2F

#42AA2F is a light, vivid green. Relative luminance 0.301; OKLCH L 65.3% C 0.186 H 140.9°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#42AA2F
RGBrgb(66, 170, 47)
HSLhsl(111, 57%, 43%)
HSVhsv(111, 72%, 67%)
CMYKcmyk(61.2%, 0%, 72.4%, 33.3%)
CIE-LABlab(61.75, -52.68, 51.71)
CIE-LCHlch(61.75, 73.82, 135.53°)
OKLaboklab(65.28% -0.1441 0.1173)
OKLCHoklch(65.28% 0.186 140.9)
XYZxyz(17.1338, 30.1113, 7.5979)
Luminance0.3011 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42AA2F #972FAA
analogous
#7FAA2F #42AA2F #2FAA5A
triadic
#42AA2F #2F42AA #AA2F42
tetradic
#42AA2F #2F7FAA #972FAA #AA5A2F
square
#42AA2F #2F7FAA #972FAA #AA5A2F
split-complementary
#42AA2F #5A2FAA #AA2F7F
monochromatic
#1D4A14 #2F7A22 #42AA2F #5ECD49 #88DA79

Accessibility & contrast

On white

2.99
#42AA2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#42AA2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42AA2F
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42AA2F#FFFFFF#000000##000000
##42AA2F1.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A1A
Deuteranopia (green-blind)
#A2923B
Tritanopia (blue-blind)
#32A592
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #42aa2f;
/* rgb */ color: rgb(66, 170, 47);
/* oklch */ color: oklch(65.3% 0.186 140.9);
Tailwind
colors: {
  custom: {
    50: '#83c46f',
    500: '#42aa2f',
    950: '#000000',
  },
}
SCSS
$custom: #42aa2f;
$custom-light: #83c46f;
$custom-dark: #000000;
JSON
{
  "hex": "#42aa2f",
  "rgb": {
    "r": 66,
    "g": 170,
    "b": 47
  },
  "hsl": {
    "h": 110.732,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.65283,
    "c": 0.18584,
    "h": 140.9
  },
  "luminance": 0.30113
}

Semantic roles & 50–950 ramp

primary
#42AA2F
secondary
#B672C2
accent
#48E0C8
background
#F8FCF7
surface
#F0F8ED
border
#CBD1C8
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #42AA2F

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

Preview Lab → · Contrast checker → · Palette generator →

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