#217128#217128

#217128 is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.4% C 0.132 H 144.5°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#217128
RGBrgb(33, 113, 40)
HSLhsl(125, 55%, 29%)
HSVhsv(125, 71%, 44%)
CMYKcmyk(70.8%, 0%, 64.6%, 55.7%)
CIE-LABlab(41.67, -39.84, 32.86)
CIE-LCHlch(41.67, 51.64, 140.48°)
OKLaboklab(48.39% -0.1078 0.077)
OKLCHoklch(48.39% 0.132 144.5)
XYZxyz(6.9149, 12.2861, 4.0141)
Luminance0.1229 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217128 #71216A
analogous
#427121 #217128 #217150
triadic
#217128 #282171 #712821
tetradic
#217128 #214271 #71216A #715021
square
#217128 #214271 #71216A #715021
split-complementary
#217128 #502171 #712142
monochromatic
#071808 #134217 #217128 #2FA039 #44C850

Accessibility & contrast

On white

6.07
#217128 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#217128 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217128
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217128#FFFFFF#000000##FFFFFF
##2171281.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736620
Deuteranopia (green-blind)
#6A602E
Tritanopia (blue-blind)
#096E61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #217128;
/* rgb */ color: rgb(33, 113, 40);
/* oklch */ color: oklch(48.4% 0.132 144.5);
Tailwind
colors: {
  custom: {
    50: '#689b65',
    500: '#217128',
    950: '#000000',
  },
}
SCSS
$custom: #217128;
$custom-light: #689b65;
$custom-dark: #000000;
JSON
{
  "hex": "#217128",
  "rgb": {
    "r": 33,
    "g": 113,
    "b": 40
  },
  "hsl": {
    "h": 125.25,
    "s": 54.795,
    "l": 28.627
  },
  "oklch": {
    "l": 0.48389,
    "c": 0.13246,
    "h": 144.5
  },
  "luminance": 0.12287
}

Semantic roles & 50–950 ramp

primary
#217128
secondary
#A5499D
accent
#4AD1DE
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #217128

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

Preview Lab → · Contrast checker → · Palette generator →

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