#427F28#427F28

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

Color values

HEX#427F28
RGBrgb(66, 127, 40)
HSLhsl(102, 52%, 33%)
HSVhsv(102, 69%, 50%)
CMYKcmyk(48%, 0%, 68.5%, 50.2%)
CIE-LABlab(47.61, -36.43, 39.76)
CIE-LCHlch(47.61, 53.92, 132.50°)
OKLaboklab(53.62% -0.1006 0.0913)
OKLCHoklch(53.62% 0.136 137.8)
XYZxyz(10.2188, 16.4895, 4.6514)
Luminance0.1649 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427F28 #65287F
analogous
#6D7F28 #427F28 #287F39
triadic
#427F28 #28427F #7F2842
tetradic
#427F28 #286D7F #65287F #7F3928
square
#427F28 #286D7F #65287F #7F3928
split-complementary
#427F28 #39287F #7F286D
monochromatic
#12220B #2A5019 #427F28 #5AAE37 #7ACA57

Accessibility & contrast

On white

4.89
#427F28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #427F28
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##427F28#FFFFFF#000000##FFFFFF
##427F281.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #427f28;
/* rgb */ color: rgb(66, 127, 40);
/* oklch */ color: oklch(53.6% 0.136 137.8);
Tailwind
colors: {
  custom: {
    50: '#7ca566',
    500: '#427f28',
    950: '#000000',
  },
}
SCSS
$custom: #427f28;
$custom-light: #7ca566;
$custom-dark: #000000;
JSON
{
  "hex": "#427f28",
  "rgb": {
    "r": 66,
    "g": 127,
    "b": 40
  },
  "hsl": {
    "h": 102.069,
    "s": 52.096,
    "l": 32.745
  },
  "oklch": {
    "l": 0.53615,
    "c": 0.13588,
    "h": 137.8
  },
  "luminance": 0.1649
}

Semantic roles & 50–950 ramp

primary
#427F28
secondary
#9454AF
accent
#4CDCB1
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #427F28

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

Preview Lab → · Contrast checker → · Palette generator →

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