#217428#217428

#217428 is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.3% C 0.136 H 144.4°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#217428
RGBrgb(33, 116, 40)
HSLhsl(125, 56%, 29%)
HSVhsv(125, 72%, 45%)
CMYKcmyk(71.6%, 0%, 65.5%, 54.5%)
CIE-LABlab(42.71, -40.97, 34.04)
CIE-LCHlch(42.71, 53.27, 140.28°)
OKLaboklab(49.26% -0.1109 0.0795)
OKLCHoklch(49.26% 0.136 144.4)
XYZxyz(7.2551, 12.9665, 4.1275)
Luminance0.1297 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217428 #74216D
analogous
#447421 #217428 #217452
triadic
#217428 #282174 #742821
tetradic
#217428 #214474 #74216D #745221
square
#217428 #214474 #74216D #745221
split-complementary
#217428 #522174 #742144
monochromatic
#071808 #134418 #217428 #2FA438 #45CA50

Accessibility & contrast

On white

5.84
#217428 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#217428 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217428
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217428#FFFFFF#000000##FFFFFF
##2174281.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76691F
Deuteranopia (green-blind)
#6C622F
Tritanopia (blue-blind)
#067164
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #217428;
/* rgb */ color: rgb(33, 116, 40);
/* oklch */ color: oklch(49.3% 0.136 144.4);
Tailwind
colors: {
  custom: {
    50: '#699d65',
    500: '#217428',
    950: '#000000',
  },
}
SCSS
$custom: #217428;
$custom-light: #699d65;
$custom-dark: #000000;
JSON
{
  "hex": "#217428",
  "rgb": {
    "r": 33,
    "g": 116,
    "b": 40
  },
  "hsl": {
    "h": 125.06,
    "s": 55.705,
    "l": 29.216
  },
  "oklch": {
    "l": 0.49255,
    "c": 0.13644,
    "h": 144.4
  },
  "luminance": 0.12967
}

Semantic roles & 50–950 ramp

primary
#217428
secondary
#A7499F
accent
#49D2DF
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #217428

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

Preview Lab → · Contrast checker → · Palette generator →

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