#42A42F#42A42F

#42A42F is a light, vivid green. Relative luminance 0.279; OKLCH L 63.7% C 0.179 H 140.7°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#42A42F
RGBrgb(66, 164, 47)
HSLhsl(110, 55%, 41%)
HSVhsv(110, 71%, 64%)
CMYKcmyk(59.8%, 0%, 71.3%, 35.7%)
CIE-LABlab(59.81, -50.49, 49.71)
CIE-LCHlch(59.81, 70.86, 135.45°)
OKLaboklab(63.68% -0.1382 0.1131)
OKLCHoklch(63.68% 0.179 140.7)
XYZxyz(16.0346, 27.9130, 7.2315)
Luminance0.2791 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A42F #912FA4
analogous
#7DA42F #42A42F #2FA457
triadic
#42A42F #2F42A4 #A42F42
tetradic
#42A42F #2F7DA4 #912FA4 #A4572F
square
#42A42F #2F7DA4 #912FA4 #A4572F
split-complementary
#42A42F #572FA4 #A42F7D
monochromatic
#1C4514 #2F7421 #42A42F #5CCA46 #86D876

Accessibility & contrast

On white

3.19
#42A42F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#42A42F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A42F
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A42F#FFFFFF#000000##000000
##42A42F1.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8951C
Deuteranopia (green-blind)
#9C8D3A
Tritanopia (blue-blind)
#349F8D
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #42a42f;
/* rgb */ color: rgb(66, 164, 47);
/* oklch */ color: oklch(63.7% 0.179 140.7);
Tailwind
colors: {
  custom: {
    50: '#82c06e',
    500: '#42a42f',
    950: '#000000',
  },
}
SCSS
$custom: #42a42f;
$custom-light: #82c06e;
$custom-dark: #000000;
JSON
{
  "hex": "#42a42f",
  "rgb": {
    "r": 66,
    "g": 164,
    "b": 47
  },
  "hsl": {
    "h": 110.256,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.6368,
    "c": 0.17862,
    "h": 140.7
  },
  "luminance": 0.27914
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #42A42F

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

Preview Lab → · Contrast checker → · Palette generator →

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