#217C38#217C38

#217C38 is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.8% C 0.133 H 147.8°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#217C38
RGBrgb(33, 124, 56)
HSLhsl(135, 58%, 31%)
HSVhsv(135, 73%, 49%)
CMYKcmyk(73.4%, 0%, 54.8%, 51.4%)
CIE-LABlab(45.67, -41.79, 29.42)
CIE-LCHlch(45.67, 51.10, 144.85°)
OKLaboklab(51.76% -0.1125 0.0708)
OKLCHoklch(51.76% 0.133 147.8)
XYZxyz(8.5480, 15.0232, 6.1899)
Luminance0.1502 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217C38 #7C2165
analogous
#377C21 #217C38 #217C65
triadic
#217C38 #38217C #7C3821
tetradic
#217C38 #21377C #7C2165 #7C6521
square
#217C38 #21377C #7C2165 #7C6521
split-complementary
#217C38 #65217C #7C2137
monochromatic
#071B0C #144C22 #217C38 #2EAC4E #49CF6B

Accessibility & contrast

On white

5.24
#217C38 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#217C38 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217C38
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217C38#FFFFFF#000000##FFFFFF
##217C381.005.244.005.24
#FFFFFF5.241.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7132
Deuteranopia (green-blind)
#73693D
Tritanopia (blue-blind)
#00796D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #217c38;
/* rgb */ color: rgb(33, 124, 56);
/* oklch */ color: oklch(51.8% 0.133 147.8);
Tailwind
colors: {
  custom: {
    50: '#6aa370',
    500: '#217c38',
    950: '#000000',
  },
}
SCSS
$custom: #217c38;
$custom-light: #6aa370;
$custom-dark: #000000;
JSON
{
  "hex": "#217c38",
  "rgb": {
    "r": 33,
    "g": 124,
    "b": 56
  },
  "hsl": {
    "h": 135.165,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.5176,
    "c": 0.13294,
    "h": 147.8
  },
  "luminance": 0.15024
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #217C38

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

Preview Lab → · Contrast checker → · Palette generator →

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