#428227#428227

#428227 is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.4% C 0.141 H 137.9°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#428227
RGBrgb(66, 130, 39)
HSLhsl(102, 54%, 33%)
HSVhsv(102, 70%, 51%)
CMYKcmyk(49.2%, 0%, 70%, 49%)
CIE-LABlab(48.60, -37.80, 41.25)
CIE-LCHlch(48.60, 55.95, 132.50°)
OKLaboklab(54.42% -0.1044 0.0943)
OKLCHoklch(54.42% 0.141 137.9)
XYZxyz(10.5953, 17.2693, 4.6941)
Luminance0.1727 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#428227 #672782
analogous
#6F8227 #428227 #278239
triadic
#428227 #274282 #822742
tetradic
#428227 #276F82 #672782 #823927
square
#428227 #276F82 #672782 #823927
split-complementary
#428227 #392782 #82276F
monochromatic
#12240B #2A5319 #428227 #5AB135 #7ACD57

Accessibility & contrast

On white

4.71
#428227 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#428227 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #428227
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##428227#FFFFFF#000000##FFFFFF
##4282271.004.714.454.71
#FFFFFF4.711.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86771A
Deuteranopia (green-blind)
#7E712F
Tritanopia (blue-blind)
#3E7D70
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #428227;
/* rgb */ color: rgb(66, 130, 39);
/* oklch */ color: oklch(54.4% 0.141 137.9);
Tailwind
colors: {
  custom: {
    50: '#7ca766',
    500: '#428227',
    950: '#000000',
  },
}
SCSS
$custom: #428227;
$custom-light: #7ca766;
$custom-dark: #000000;
JSON
{
  "hex": "#428227",
  "rgb": {
    "r": 66,
    "g": 130,
    "b": 39
  },
  "hsl": {
    "h": 102.198,
    "s": 53.846,
    "l": 33.137
  },
  "oklch": {
    "l": 0.54423,
    "c": 0.1407,
    "h": 137.9
  },
  "luminance": 0.1727
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #428227

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

Preview Lab → · Contrast checker → · Palette generator →

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