#217C27#217C27

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

Color values

HEX#217C27
RGBrgb(33, 124, 39)
HSLhsl(124, 58%, 31%)
HSVhsv(124, 73%, 49%)
CMYKcmyk(73.4%, 0%, 68.5%, 51.4%)
CIE-LABlab(45.48, -44.04, 37.57)
CIE-LCHlch(45.48, 57.89, 139.53°)
OKLaboklab(51.54% -0.1193 0.0869)
OKLCHoklch(51.54% 0.148 143.9)
XYZxyz(8.2005, 14.8842, 4.3598)
Luminance0.1489 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217C27 #7C2176
analogous
#487C21 #217C27 #217C54
triadic
#217C27 #27217C #7C2721
tetradic
#217C27 #21487C #7C2176 #7C5421
square
#217C27 #21487C #7C2176 #7C5421
split-complementary
#217C27 #54217C #7C2148
monochromatic
#071B09 #144C18 #217C27 #2EAC36 #49CF52

Accessibility & contrast

On white

5.28
#217C27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#217C27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217C27
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217C27#FFFFFF#000000##FFFFFF
##217C271.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E701C
Deuteranopia (green-blind)
#74692F
Tritanopia (blue-blind)
#00786B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #217c27;
/* rgb */ color: rgb(33, 124, 39);
/* oklch */ color: oklch(51.5% 0.148 143.9);
Tailwind
colors: {
  custom: {
    50: '#6ba365',
    500: '#217c27',
    950: '#000000',
  },
}
SCSS
$custom: #217c27;
$custom-light: #6ba365;
$custom-dark: #000000;
JSON
{
  "hex": "#217c27",
  "rgb": {
    "r": 33,
    "g": 124,
    "b": 39
  },
  "hsl": {
    "h": 123.956,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.5154,
    "c": 0.14754,
    "h": 143.9
  },
  "luminance": 0.14885
}

Semantic roles & 50–950 ramp

primary
#217C27
secondary
#AF4AA8
accent
#47D7E1
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #217C27

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

Preview Lab → · Contrast checker → · Palette generator →

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