#217F39#217F39

#217F39 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.6% C 0.136 H 147.8°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#217F39
RGBrgb(33, 127, 57)
HSLhsl(135, 59%, 31%)
HSVhsv(135, 74%, 50%)
CMYKcmyk(74%, 0%, 55.1%, 50.2%)
CIE-LABlab(46.71, -42.77, 30.16)
CIE-LCHlch(46.71, 52.34, 144.81°)
OKLaboklab(52.63% -0.1152 0.0725)
OKLCHoklch(52.63% 0.136 147.8)
XYZxyz(8.9544, 15.7965, 6.4472)
Luminance0.1580 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217F39 #7F2167
analogous
#387F21 #217F39 #217F68
triadic
#217F39 #39217F #7F3921
tetradic
#217F39 #21387F #7F2167 #7F6821
square
#217F39 #21387F #7F2167 #7F6821
split-complementary
#217F39 #68217F #7F2138
monochromatic
#081E0D #144E23 #217F39 #2EB04F #4AD06C

Accessibility & contrast

On white

5.05
#217F39 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#217F39 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217F39
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217F39#FFFFFF#000000##FFFFFF
##217F391.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807333
Deuteranopia (green-blind)
#756C3E
Tritanopia (blue-blind)
#007C6F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #217f39;
/* rgb */ color: rgb(33, 127, 57);
/* oklch */ color: oklch(52.6% 0.136 147.8);
Tailwind
colors: {
  custom: {
    50: '#6ba571',
    500: '#217f39',
    950: '#000000',
  },
}
SCSS
$custom: #217f39;
$custom-light: #6ba571;
$custom-dark: #000000;
JSON
{
  "hex": "#217f39",
  "rgb": {
    "r": 33,
    "g": 127,
    "b": 57
  },
  "hsl": {
    "h": 135.319,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52625,
    "c": 0.13609,
    "h": 147.8
  },
  "luminance": 0.15797
}

Semantic roles & 50–950 ramp

primary
#217F39
secondary
#B24A97
accent
#46BAE2
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #217F39

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

Preview Lab → · Contrast checker → · Palette generator →

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