#217638#217638

#217638 is a mid, vivid green. Relative luminance 0.136; OKLCH L 50.1% C 0.125 H 148.5°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#217638
RGBrgb(33, 118, 56)
HSLhsl(136, 56%, 30%)
HSVhsv(136, 72%, 46%)
CMYKcmyk(72%, 0%, 52.5%, 53.7%)
CIE-LABlab(43.60, -39.45, 26.88)
CIE-LCHlch(43.60, 47.74, 145.73°)
OKLaboklab(50.05% -0.1063 0.0651)
OKLCHoklch(50.05% 0.125 148.5)
XYZxyz(7.8188, 13.5649, 5.9468)
Luminance0.1357 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217638 #76215F
analogous
#357621 #217638 #217662
triadic
#217638 #382176 #763821
tetradic
#217638 #213576 #76215F #766221
square
#217638 #213576 #76215F #766221
split-complementary
#217638 #622176 #762135
monochromatic
#07180B #144621 #217638 #2EA64F #46CB6A

Accessibility & contrast

On white

5.66
#217638 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#217638 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217638
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217638#FFFFFF#000000##FFFFFF
##2176381.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776B33
Deuteranopia (green-blind)
#6D643C
Tritanopia (blue-blind)
#007468
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #217638;
/* rgb */ color: rgb(33, 118, 56);
/* oklch */ color: oklch(50.1% 0.125 148.5);
Tailwind
colors: {
  custom: {
    50: '#699e70',
    500: '#217638',
    950: '#000000',
  },
}
SCSS
$custom: #217638;
$custom-light: #699e70;
$custom-dark: #000000;
JSON
{
  "hex": "#217638",
  "rgb": {
    "r": 33,
    "g": 118,
    "b": 56
  },
  "hsl": {
    "h": 136.235,
    "s": 56.291,
    "l": 29.608
  },
  "oklch": {
    "l": 0.50054,
    "c": 0.12462,
    "h": 148.5
  },
  "luminance": 0.13566
}

Semantic roles & 50–950 ramp

primary
#217638
secondary
#A94A8F
accent
#48B7E0
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #217638

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

Preview Lab → · Contrast checker → · Palette generator →

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