#217238#217238

#217238 is a mid, moderate green. Relative luminance 0.126; OKLCH L 48.9% C 0.119 H 149.0°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#217238
RGBrgb(33, 114, 56)
HSLhsl(137, 55%, 29%)
HSVhsv(137, 71%, 45%)
CMYKcmyk(71.1%, 0%, 50.9%, 55.3%)
CIE-LABlab(42.22, -37.85, 25.16)
CIE-LCHlch(42.22, 45.45, 146.39°)
OKLaboklab(48.91% -0.102 0.0612)
OKLCHoklch(48.91% 0.119 149)
XYZxyz(7.3578, 12.6427, 5.7931)
Luminance0.1264 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217238 #72215B
analogous
#337221 #217238 #217261
triadic
#217238 #382172 #723821
tetradic
#217238 #213372 #72215B #726121
square
#217238 #213372 #72215B #726121
split-complementary
#217238 #612172 #722133
monochromatic
#07180C #134321 #217238 #2FA14F #44C96A

Accessibility & contrast

On white

5.95
#217238 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#217238 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217238
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217238#FFFFFF#000000##FFFFFF
##2172381.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736833
Deuteranopia (green-blind)
#69613C
Tritanopia (blue-blind)
#007064
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #217238;
/* rgb */ color: rgb(33, 114, 56);
/* oklch */ color: oklch(48.9% 0.119 149.0);
Tailwind
colors: {
  custom: {
    50: '#689b70',
    500: '#217238',
    950: '#000000',
  },
}
SCSS
$custom: #217238;
$custom-light: #689b70;
$custom-dark: #000000;
JSON
{
  "hex": "#217238",
  "rgb": {
    "r": 33,
    "g": 114,
    "b": 56
  },
  "hsl": {
    "h": 137.037,
    "s": 55.102,
    "l": 28.824
  },
  "oklch": {
    "l": 0.48912,
    "c": 0.11896,
    "h": 149
  },
  "luminance": 0.12643
}

Semantic roles & 50–950 ramp

primary
#217238
secondary
#A5498B
accent
#49B4DE
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #217238

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

Preview Lab → · Contrast checker → · Palette generator →

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