#217D27#217D27

#217D27 is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.8% C 0.149 H 143.9°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#217D27
RGBrgb(33, 125, 39)
HSLhsl(124, 58%, 31%)
HSVhsv(124, 74%, 49%)
CMYKcmyk(73.6%, 0%, 68.8%, 51%)
CIE-LABlab(45.82, -44.40, 37.94)
CIE-LCHlch(45.82, 58.41, 139.48°)
OKLaboklab(51.83% -0.1202 0.0877)
OKLCHoklch(51.83% 0.149 143.9)
XYZxyz(8.3265, 15.1361, 4.4018)
Luminance0.1514 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217D27 #7D2177
analogous
#497D21 #217D27 #217D55
triadic
#217D27 #27217D #7D2721
tetradic
#217D27 #21497D #7D2177 #7D5521
square
#217D27 #21497D #7D2177 #7D5521
split-complementary
#217D27 #55217D #7D2149
monochromatic
#071C09 #144D18 #217D27 #2EAD36 #49CF52

Accessibility & contrast

On white

5.21
#217D27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#217D27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217D27
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217D27#FFFFFF#000000##FFFFFF
##217D271.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F711C
Deuteranopia (green-blind)
#756A2F
Tritanopia (blue-blind)
#00796B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #217d27;
/* rgb */ color: rgb(33, 125, 39);
/* oklch */ color: oklch(51.8% 0.149 143.9);
Tailwind
colors: {
  custom: {
    50: '#6ba465',
    500: '#217d27',
    950: '#000000',
  },
}
SCSS
$custom: #217d27;
$custom-light: #6ba465;
$custom-dark: #000000;
JSON
{
  "hex": "#217d27",
  "rgb": {
    "r": 33,
    "g": 125,
    "b": 39
  },
  "hsl": {
    "h": 123.913,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.51826,
    "c": 0.1488,
    "h": 143.9
  },
  "luminance": 0.15137
}

Semantic roles & 50–950 ramp

primary
#217D27
secondary
#B04AA9
accent
#46D7E1
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #217D27

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

Preview Lab → · Contrast checker → · Palette generator →

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