#217F37#217F37

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

Color values

HEX#217F37
RGBrgb(33, 127, 55)
HSLhsl(134, 59%, 31%)
HSVhsv(134, 74%, 50%)
CMYKcmyk(74%, 0%, 56.7%, 50.2%)
CIE-LABlab(46.68, -43.08, 31.17)
CIE-LCHlch(46.68, 53.17, 144.11°)
OKLaboklab(52.6% -0.116 0.0746)
OKLCHoklch(52.6% 0.138 147.3)
XYZxyz(8.9055, 15.7769, 6.1896)
Luminance0.1578 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217F37 #7F2169
analogous
#3A7F21 #217F37 #217F66
triadic
#217F37 #37217F #7F3721
tetradic
#217F37 #213A7F #7F2169 #7F6621
square
#217F37 #213A7F #7F2169 #7F6621
split-complementary
#217F37 #66217F #7F213A
monochromatic
#081E0D #144E22 #217F37 #2EB04C #4AD06A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##217F37#FFFFFF#000000##FFFFFF
##217F371.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)
#817330
Deuteranopia (green-blind)
#766C3D
Tritanopia (blue-blind)
#007C6F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #217f37;
/* rgb */ color: rgb(33, 127, 55);
/* oklch */ color: oklch(52.6% 0.138 147.3);
Tailwind
colors: {
  custom: {
    50: '#6ba570',
    500: '#217f37',
    950: '#000000',
  },
}
SCSS
$custom: #217f37;
$custom-light: #6ba570;
$custom-dark: #000000;
JSON
{
  "hex": "#217f37",
  "rgb": {
    "r": 33,
    "g": 127,
    "b": 55
  },
  "hsl": {
    "h": 134.043,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52595,
    "c": 0.13793,
    "h": 147.3
  },
  "luminance": 0.15778
}

Semantic roles & 50–950 ramp

primary
#217F37
secondary
#B24A99
accent
#46BDE2
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#080F07
muted
#7A7F7A

Preview Lab

Preview with #217F37

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

Preview Lab → · Contrast checker → · Palette generator →

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