#217E27#217E27

#217E27 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.1% C 0.150 H 143.9°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#217E27
RGBrgb(33, 126, 39)
HSLhsl(124, 58%, 31%)
HSVhsv(124, 74%, 49%)
CMYKcmyk(73.8%, 0%, 69%, 50.6%)
CIE-LABlab(46.16, -44.76, 38.32)
CIE-LCHlch(46.16, 58.92, 139.43°)
OKLaboklab(52.11% -0.1212 0.0884)
OKLCHoklch(52.11% 0.15 143.9)
XYZxyz(8.4537, 15.3906, 4.4442)
Luminance0.1539 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217E27 #7E2178
analogous
#497E21 #217E27 #217E55
triadic
#217E27 #27217E #7E2721
tetradic
#217E27 #21497E #7E2178 #7E5521
square
#217E27 #21497E #7E2178 #7E5521
split-complementary
#217E27 #55217E #7E2149
monochromatic
#081D09 #144E18 #217E27 #2EAE36 #4AD052

Accessibility & contrast

On white

5.15
#217E27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#217E27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217E27
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217E27#FFFFFF#000000##FFFFFF
##217E271.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81721B
Deuteranopia (green-blind)
#766A2F
Tritanopia (blue-blind)
#007A6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #217e27;
/* rgb */ color: rgb(33, 126, 39);
/* oklch */ color: oklch(52.1% 0.150 143.9);
Tailwind
colors: {
  custom: {
    50: '#6ca466',
    500: '#217e27',
    950: '#000000',
  },
}
SCSS
$custom: #217e27;
$custom-light: #6ca466;
$custom-dark: #000000;
JSON
{
  "hex": "#217e27",
  "rgb": {
    "r": 33,
    "g": 126,
    "b": 39
  },
  "hsl": {
    "h": 123.871,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52112,
    "c": 0.15005,
    "h": 143.9
  },
  "luminance": 0.15392
}

Semantic roles & 50–950 ramp

primary
#217E27
secondary
#B14AAA
accent
#46D8E2
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #217E27

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

Preview Lab → · Contrast checker → · Palette generator →

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