#428D27#428D27

#428D27 is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.4% C 0.155 H 138.7°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#428D27
RGBrgb(66, 141, 39)
HSLhsl(104, 57%, 35%)
HSVhsv(104, 72%, 55%)
CMYKcmyk(53.2%, 0%, 72.3%, 44.7%)
CIE-LABlab(52.23, -42.33, 45.05)
CIE-LCHlch(52.23, 61.81, 133.22°)
OKLaboklab(57.41% -0.1166 0.1023)
OKLCHoklch(57.41% 0.155 138.7)
XYZxyz(12.1374, 20.3536, 5.2081)
Luminance0.2035 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#428D27 #72278D
analogous
#758D27 #428D27 #278D3F
triadic
#428D27 #27428D #8D2742
tetradic
#428D27 #27758D #72278D #8D3F27
square
#428D27 #27758D #72278D #8D3F27
split-complementary
#428D27 #3F278D #8D2775
monochromatic
#152D0C #2C5D1A #428D27 #58BD34 #7CD25C

Accessibility & contrast

On white

4.14
#428D27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#428D27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #428D27
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##428D27#FFFFFF#000000##000000
##428D271.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#918017
Deuteranopia (green-blind)
#887A31
Tritanopia (blue-blind)
#3B8879
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #428d27;
/* rgb */ color: rgb(66, 141, 39);
/* oklch */ color: oklch(57.4% 0.155 138.7);
Tailwind
colors: {
  custom: {
    50: '#7eaf67',
    500: '#428d27',
    950: '#000000',
  },
}
SCSS
$custom: #428d27;
$custom-light: #7eaf67;
$custom-dark: #000000;
JSON
{
  "hex": "#428d27",
  "rgb": {
    "r": 66,
    "g": 141,
    "b": 39
  },
  "hsl": {
    "h": 104.118,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.57414,
    "c": 0.15515,
    "h": 138.7
  },
  "luminance": 0.20354
}

Semantic roles & 50–950 ramp

primary
#428D27
secondary
#9E59B7
accent
#48E0B8
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #428D27

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

Preview Lab → · Contrast checker → · Palette generator →

#428D27 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva