#428C27#428C27

#428C27 is a mid, vivid green. Relative luminance 0.201; OKLCH L 57.1% C 0.154 H 138.7°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#428C27
RGBrgb(66, 140, 39)
HSLhsl(104, 56%, 35%)
HSVhsv(104, 72%, 55%)
CMYKcmyk(52.9%, 0%, 72.1%, 45.1%)
CIE-LABlab(51.91, -41.93, 44.71)
CIE-LCHlch(51.91, 61.29, 133.16°)
OKLaboklab(57.14% -0.1156 0.1016)
OKLCHoklch(57.14% 0.154 138.7)
XYZxyz(11.9906, 20.0600, 5.1592)
Luminance0.2006 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#428C27 #71278C
analogous
#758C27 #428C27 #278C3E
triadic
#428C27 #27428C #8C2742
tetradic
#428C27 #27758C #71278C #8C3E27
square
#428C27 #27758C #71278C #8C3E27
split-complementary
#428C27 #3E278C #8C2775
monochromatic
#152C0C #2B5C1A #428C27 #59BC34 #7BD25C

Accessibility & contrast

On white

4.19
#428C27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#428C27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #428C27
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##428C27#FFFFFF#000000##000000
##428C271.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#908017
Deuteranopia (green-blind)
#877931
Tritanopia (blue-blind)
#3C8778
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #428c27;
/* rgb */ color: rgb(66, 140, 39);
/* oklch */ color: oklch(57.1% 0.154 138.7);
Tailwind
colors: {
  custom: {
    50: '#7eae67',
    500: '#428c27',
    950: '#000000',
  },
}
SCSS
$custom: #428c27;
$custom-light: #7eae67;
$custom-dark: #000000;
JSON
{
  "hex": "#428c27",
  "rgb": {
    "r": 66,
    "g": 140,
    "b": 39
  },
  "hsl": {
    "h": 103.96,
    "s": 56.425,
    "l": 35.098
  },
  "oklch": {
    "l": 0.57142,
    "c": 0.15387,
    "h": 138.7
  },
  "luminance": 0.20061
}

Semantic roles & 50–950 ramp

primary
#428C27
secondary
#9D58B7
accent
#48E0B7
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #428C27

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

Preview Lab → · Contrast checker → · Palette generator →

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