#217B39#217B39

#217B39 is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.5% C 0.131 H 148.2°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#217B39
RGBrgb(33, 123, 57)
HSLhsl(136, 58%, 31%)
HSVhsv(136, 73%, 48%)
CMYKcmyk(73.2%, 0%, 53.7%, 51.8%)
CIE-LABlab(45.34, -41.24, 28.49)
CIE-LCHlch(45.34, 50.12, 145.37°)
OKLaboklab(51.49% -0.1111 0.0688)
OKLCHoklch(51.49% 0.131 148.2)
XYZxyz(8.4480, 14.7837, 6.2784)
Luminance0.1479 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217B39 #7B2163
analogous
#367B21 #217B39 #217B66
triadic
#217B39 #39217B #7B3921
tetradic
#217B39 #21367B #7B2163 #7B6621
square
#217B39 #21367B #7B2163 #7B6621
split-complementary
#217B39 #66217B #7B2136
monochromatic
#071A0C #144B23 #217B39 #2EAB4F #48CE6C

Accessibility & contrast

On white

5.31
#217B39 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#217B39 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217B39
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217B39#FFFFFF#000000##FFFFFF
##217B391.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C7033
Deuteranopia (green-blind)
#72683E
Tritanopia (blue-blind)
#00786C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #217b39;
/* rgb */ color: rgb(33, 123, 57);
/* oklch */ color: oklch(51.5% 0.131 148.2);
Tailwind
colors: {
  custom: {
    50: '#6aa271',
    500: '#217b39',
    950: '#000000',
  },
}
SCSS
$custom: #217b39;
$custom-light: #6aa271;
$custom-dark: #000000;
JSON
{
  "hex": "#217b39",
  "rgb": {
    "r": 33,
    "g": 123,
    "b": 57
  },
  "hsl": {
    "h": 136,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51492,
    "c": 0.13062,
    "h": 148.2
  },
  "luminance": 0.14785
}

Semantic roles & 50–950 ramp

primary
#217B39
secondary
#AE4A93
accent
#47B8E1
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #217B39

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

Preview Lab → · Contrast checker → · Palette generator →

#217B39 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva