#217338#217338

#217338 is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.2% C 0.120 H 148.9°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#217338
RGBrgb(33, 115, 56)
HSLhsl(137, 55%, 29%)
HSVhsv(137, 71%, 45%)
CMYKcmyk(71.3%, 0%, 51.3%, 54.9%)
CIE-LABlab(42.57, -38.26, 25.59)
CIE-LCHlch(42.57, 46.03, 146.22°)
OKLaboklab(49.2% -0.1031 0.0622)
OKLCHoklch(49.2% 0.12 148.9)
XYZxyz(7.4712, 12.8695, 5.8309)
Luminance0.1287 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217338 #73215C
analogous
#337321 #217338 #217361
triadic
#217338 #382173 #733821
tetradic
#217338 #213373 #73215C #736121
square
#217338 #213373 #73215C #736121
split-complementary
#217338 #612173 #732133
monochromatic
#07180C #134321 #217338 #2FA34F #45CA6A

Accessibility & contrast

On white

5.88
#217338 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#217338 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217338
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217338#FFFFFF#000000##FFFFFF
##2173381.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746933
Deuteranopia (green-blind)
#6A623C
Tritanopia (blue-blind)
#007165
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #217338;
/* rgb */ color: rgb(33, 115, 56);
/* oklch */ color: oklch(49.2% 0.120 148.9);
Tailwind
colors: {
  custom: {
    50: '#689c70',
    500: '#217338',
    950: '#000000',
  },
}
SCSS
$custom: #217338;
$custom-light: #689c70;
$custom-dark: #000000;
JSON
{
  "hex": "#217338",
  "rgb": {
    "r": 33,
    "g": 115,
    "b": 56
  },
  "hsl": {
    "h": 136.829,
    "s": 55.405,
    "l": 29.02
  },
  "oklch": {
    "l": 0.49198,
    "c": 0.12039,
    "h": 148.9
  },
  "luminance": 0.1287
}

Semantic roles & 50–950 ramp

primary
#217338
secondary
#A6498C
accent
#49B5DF
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #217338

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

Preview Lab → · Contrast checker → · Palette generator →

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