#217B38#217B38

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

Color values

HEX#217B38
RGBrgb(33, 123, 56)
HSLhsl(135, 58%, 31%)
HSVhsv(135, 73%, 48%)
CMYKcmyk(73.2%, 0%, 54.5%, 51.8%)
CIE-LABlab(45.32, -41.40, 29.00)
CIE-LCHlch(45.32, 50.55, 144.99°)
OKLaboklab(51.48% -0.1115 0.0698)
OKLCHoklch(51.48% 0.132 147.9)
XYZxyz(8.4233, 14.7738, 6.1483)
Luminance0.1477 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217B38 #7B2164
analogous
#377B21 #217B38 #217B65
triadic
#217B38 #38217B #7B3821
tetradic
#217B38 #21377B #7B2164 #7B6521
square
#217B38 #21377B #7B2164 #7B6521
split-complementary
#217B38 #65217B #7B2137
monochromatic
#071A0C #144B22 #217B38 #2EAB4E #48CE6B

Accessibility & contrast

On white

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

On black

3.95
#217B38 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##217B38#FFFFFF#000000##FFFFFF
##217B381.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #217b38;
/* rgb */ color: rgb(33, 123, 56);
/* oklch */ color: oklch(51.5% 0.132 147.9);
Tailwind
colors: {
  custom: {
    50: '#6aa270',
    500: '#217b38',
    950: '#000000',
  },
}
SCSS
$custom: #217b38;
$custom-light: #6aa270;
$custom-dark: #000000;
JSON
{
  "hex": "#217b38",
  "rgb": {
    "r": 33,
    "g": 123,
    "b": 56
  },
  "hsl": {
    "h": 135.333,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51476,
    "c": 0.13158,
    "h": 147.9
  },
  "luminance": 0.14775
}

Semantic roles & 50–950 ramp

primary
#217B38
secondary
#AE4A94
accent
#47BAE1
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #217B38

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

Preview Lab → · Contrast checker → · Palette generator →

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