#428228#428228

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

Color values

HEX#428228
RGBrgb(66, 130, 40)
HSLhsl(103, 53%, 33%)
HSVhsv(103, 69%, 51%)
CMYKcmyk(49.2%, 0%, 69.2%, 49%)
CIE-LABlab(48.61, -37.71, 40.82)
CIE-LCHlch(48.61, 55.58, 132.73°)
OKLaboklab(54.43% -0.1041 0.0936)
OKLCHoklch(54.43% 0.14 138)
XYZxyz(10.6120, 17.2760, 4.7825)
Luminance0.1728 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#428228 #682882
analogous
#6F8228 #428228 #28823B
triadic
#428228 #284282 #822842
tetradic
#428228 #286F82 #682882 #823B28
square
#428228 #286F82 #682882 #823B28
split-complementary
#428228 #3B2882 #82286F
monochromatic
#12240B #2A531A #428228 #5AB136 #7ACC59

Accessibility & contrast

On white

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

On black

4.46
#428228 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##428228#FFFFFF#000000##FFFFFF
##4282281.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #428228;
/* rgb */ color: rgb(66, 130, 40);
/* oklch */ color: oklch(54.4% 0.140 138.0);
Tailwind
colors: {
  custom: {
    50: '#7ca767',
    500: '#428228',
    950: '#000000',
  },
}
SCSS
$custom: #428228;
$custom-light: #7ca767;
$custom-dark: #000000;
JSON
{
  "hex": "#428228",
  "rgb": {
    "r": 66,
    "g": 130,
    "b": 40
  },
  "hsl": {
    "h": 102.667,
    "s": 52.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.54433,
    "c": 0.13996,
    "h": 138
  },
  "luminance": 0.17277
}

Semantic roles & 50–950 ramp

primary
#428228
secondary
#9655B1
accent
#4BDCB2
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #428228

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

Preview Lab → · Contrast checker → · Palette generator →

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