#427F2A#427F2A

#427F2A is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.6% C 0.134 H 138.1°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#427F2A
RGBrgb(66, 127, 42)
HSLhsl(103, 50%, 33%)
HSVhsv(103, 67%, 50%)
CMYKcmyk(48%, 0%, 66.9%, 50.2%)
CIE-LABlab(47.63, -36.24, 38.88)
CIE-LCHlch(47.63, 53.15, 132.99°)
OKLaboklab(53.64% -0.0999 0.0897)
OKLCHoklch(53.64% 0.134 138.1)
XYZxyz(10.2537, 16.5035, 4.8352)
Luminance0.1650 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427F2A #672A7F
analogous
#6C7F2A #427F2A #2A7F3C
triadic
#427F2A #2A427F #7F2A42
tetradic
#427F2A #2A6C7F #672A7F #7F3C2A
square
#427F2A #2A6C7F #672A7F #7F3C2A
split-complementary
#427F2A #3C2A7F #7F2A6C
monochromatic
#12230C #2A511B #427F2A #5AAD39 #7AC95B

Accessibility & contrast

On white

4.88
#427F2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#427F2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #427F2A
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##427F2A#FFFFFF#000000##FFFFFF
##427F2A1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83741F
Deuteranopia (green-blind)
#7B6F31
Tritanopia (blue-blind)
#3E7B6D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #427f2a;
/* rgb */ color: rgb(66, 127, 42);
/* oklch */ color: oklch(53.6% 0.134 138.1);
Tailwind
colors: {
  custom: {
    50: '#7ca568',
    500: '#427f2a',
    950: '#000000',
  },
}
SCSS
$custom: #427f2a;
$custom-light: #7ca568;
$custom-dark: #000000;
JSON
{
  "hex": "#427f2a",
  "rgb": {
    "r": 66,
    "g": 127,
    "b": 42
  },
  "hsl": {
    "h": 103.059,
    "s": 50.296,
    "l": 33.137
  },
  "oklch": {
    "l": 0.53636,
    "c": 0.13431,
    "h": 138.1
  },
  "luminance": 0.16504
}

Semantic roles & 50–950 ramp

primary
#427F2A
secondary
#9557AE
accent
#4EDAB2
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #427F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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