#42A32F#42A32F

#42A32F is a light, vivid green. Relative luminance 0.276; OKLCH L 63.4% C 0.177 H 140.7°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#42A32F
RGBrgb(66, 163, 47)
HSLhsl(110, 55%, 41%)
HSVhsv(110, 71%, 64%)
CMYKcmyk(59.5%, 0%, 71.2%, 36.1%)
CIE-LABlab(59.49, -50.12, 49.38)
CIE-LCHlch(59.49, 70.36, 135.43°)
OKLaboklab(63.41% -0.1372 0.1124)
OKLCHoklch(63.41% 0.177 140.7)
XYZxyz(15.8563, 27.5564, 7.1721)
Luminance0.2756 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A32F #902FA3
analogous
#7CA32F #42A32F #2FA356
triadic
#42A32F #2F42A3 #A32F42
tetradic
#42A32F #2F7CA3 #902FA3 #A3562F
square
#42A32F #2F7CA3 #902FA3 #A3562F
split-complementary
#42A32F #562FA3 #A32F7C
monochromatic
#1C4414 #2F7321 #42A32F #5BCA46 #85D775

Accessibility & contrast

On white

3.23
#42A32F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#42A32F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A32F
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A32F#FFFFFF#000000##000000
##42A32F1.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7941D
Deuteranopia (green-blind)
#9B8C3A
Tritanopia (blue-blind)
#359E8C
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #42a32f;
/* rgb */ color: rgb(66, 163, 47);
/* oklch */ color: oklch(63.4% 0.177 140.7);
Tailwind
colors: {
  custom: {
    50: '#81bf6e',
    500: '#42a32f',
    950: '#000000',
  },
}
SCSS
$custom: #42a32f;
$custom-light: #81bf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#42a32f",
  "rgb": {
    "r": 66,
    "g": 163,
    "b": 47
  },
  "hsl": {
    "h": 110.172,
    "s": 55.238,
    "l": 41.176
  },
  "oklch": {
    "l": 0.63412,
    "c": 0.1774,
    "h": 140.7
  },
  "luminance": 0.27558
}

Semantic roles & 50–950 ramp

primary
#42A32F
secondary
#B26FBF
accent
#49DFC6
background
#F8FBF6
surface
#F0F7EC
border
#CBD0C7
text
#0B1208
muted
#7C817B

Preview Lab

Preview with #42A32F

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

Preview Lab → · Contrast checker → · Palette generator →

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