#428127#428127

#428127 is a mid, vivid green. Relative luminance 0.170; OKLCH L 54.2% C 0.139 H 137.8°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#428127
RGBrgb(66, 129, 39)
HSLhsl(102, 54%, 33%)
HSVhsv(102, 70%, 51%)
CMYKcmyk(48.8%, 0%, 69.8%, 49.4%)
CIE-LABlab(48.27, -37.38, 40.90)
CIE-LCHlch(48.27, 55.40, 132.43°)
OKLaboklab(54.15% -0.1032 0.0936)
OKLCHoklch(54.15% 0.139 137.8)
XYZxyz(10.4629, 17.0045, 4.6499)
Luminance0.1701 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#428127 #662781
analogous
#6F8127 #428127 #278139
triadic
#428127 #274281 #812742
tetradic
#428127 #276F81 #662781 #813927
square
#428127 #276F81 #662781 #813927
split-complementary
#428127 #392781 #81276F
monochromatic
#12230B #2A5219 #428127 #5AB035 #7ACC56

Accessibility & contrast

On white

4.77
#428127 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#428127 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #428127
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##428127#FFFFFF#000000##FFFFFF
##4281271.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85761A
Deuteranopia (green-blind)
#7D712F
Tritanopia (blue-blind)
#3E7C6F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #428127;
/* rgb */ color: rgb(66, 129, 39);
/* oklch */ color: oklch(54.2% 0.139 137.8);
Tailwind
colors: {
  custom: {
    50: '#7ca666',
    500: '#428127',
    950: '#000000',
  },
}
SCSS
$custom: #428127;
$custom-light: #7ca666;
$custom-dark: #000000;
JSON
{
  "hex": "#428127",
  "rgb": {
    "r": 66,
    "g": 129,
    "b": 39
  },
  "hsl": {
    "h": 102,
    "s": 53.571,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54151,
    "c": 0.13935,
    "h": 137.8
  },
  "luminance": 0.17005
}

Semantic roles & 50–950 ramp

primary
#428127
secondary
#9553B1
accent
#4BDDB1
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #428127

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

Preview Lab → · Contrast checker → · Palette generator →

#428127 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva