#217138#217138

#217138 is a mid, moderate green. Relative luminance 0.124; OKLCH L 48.6% C 0.118 H 149.2°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#217138
RGBrgb(33, 113, 56)
HSLhsl(137, 55%, 29%)
HSVhsv(137, 71%, 44%)
CMYKcmyk(70.8%, 0%, 50.4%, 55.7%)
CIE-LABlab(41.87, -37.45, 24.72)
CIE-LCHlch(41.87, 44.87, 146.57°)
OKLaboklab(48.63% -0.1009 0.0602)
OKLCHoklch(48.63% 0.118 149.2)
XYZxyz(7.2456, 12.4183, 5.7557)
Luminance0.1242 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217138 #71215A
analogous
#327121 #217138 #217160
triadic
#217138 #382171 #713821
tetradic
#217138 #213271 #71215A #716021
square
#217138 #213271 #71215A #716021
split-complementary
#217138 #602171 #712132
monochromatic
#07180C #134221 #217138 #2FA04F #44C86A

Accessibility & contrast

On white

6.03
#217138 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#217138 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217138
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217138#FFFFFF#000000##FFFFFF
##2171381.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726733
Deuteranopia (green-blind)
#68603C
Tritanopia (blue-blind)
#006F64
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #217138;
/* rgb */ color: rgb(33, 113, 56);
/* oklch */ color: oklch(48.6% 0.118 149.2);
Tailwind
colors: {
  custom: {
    50: '#689b70',
    500: '#217138',
    950: '#000000',
  },
}
SCSS
$custom: #217138;
$custom-light: #689b70;
$custom-dark: #000000;
JSON
{
  "hex": "#217138",
  "rgb": {
    "r": 33,
    "g": 113,
    "b": 56
  },
  "hsl": {
    "h": 137.25,
    "s": 54.795,
    "l": 28.627
  },
  "oklch": {
    "l": 0.48626,
    "c": 0.11753,
    "h": 149.2
  },
  "luminance": 0.12419
}

Semantic roles & 50–950 ramp

primary
#217138
secondary
#A5498A
accent
#4AB3DE
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #217138

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

Preview Lab → · Contrast checker → · Palette generator →

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