#427F2F#427F2F

#427F2F is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.7% C 0.130 H 139.0°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#427F2F
RGBrgb(66, 127, 47)
HSLhsl(106, 46%, 34%)
HSVhsv(106, 63%, 50%)
CMYKcmyk(48%, 0%, 63%, 50.2%)
CIE-LABlab(47.68, -35.71, 36.60)
CIE-LCHlch(47.68, 51.14, 134.30°)
OKLaboklab(53.69% -0.0982 0.0855)
OKLCHoklch(53.69% 0.13 139)
XYZxyz(10.3489, 16.5415, 5.3363)
Luminance0.1654 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427F2F #6C2F7F
analogous
#6A7F2F #427F2F #2F7F44
triadic
#427F2F #2F427F #7F2F42
tetradic
#427F2F #2F6A7F #6C2F7F #7F442F
square
#427F2F #2F6A7F #6C2F7F #7F442F
split-complementary
#427F2F #442F7F #7F2F6A
monochromatic
#14260E #2B521E #427F2F #59AC40 #7AC563

Accessibility & contrast

On white

4.87
#427F2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#427F2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #427F2F
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##427F2F#FFFFFF#000000##FFFFFF
##427F2F1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837426
Deuteranopia (green-blind)
#7A6F35
Tritanopia (blue-blind)
#3D7B6E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #427f2f;
/* rgb */ color: rgb(66, 127, 47);
/* oklch */ color: oklch(53.7% 0.130 139.0);
Tailwind
colors: {
  custom: {
    50: '#7ca56b',
    500: '#427f2f',
    950: '#000000',
  },
}
SCSS
$custom: #427f2f;
$custom-light: #7ca56b;
$custom-dark: #000000;
JSON
{
  "hex": "#427f2f",
  "rgb": {
    "r": 66,
    "g": 127,
    "b": 47
  },
  "hsl": {
    "h": 105.75,
    "s": 45.977,
    "l": 34.118
  },
  "oklch": {
    "l": 0.53692,
    "c": 0.13015,
    "h": 139
  },
  "luminance": 0.16542
}

Semantic roles & 50–950 ramp

primary
#427F2F
secondary
#9A5EAC
accent
#52D6B6
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F07
muted
#7C7F7A

Preview Lab

Preview with #427F2F

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

Preview Lab → · Contrast checker → · Palette generator →

#427F2F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva