#217A27#217A27

#217A27 is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.0% C 0.145 H 144.0°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#217A27
RGBrgb(33, 122, 39)
HSLhsl(124, 57%, 30%)
HSVhsv(124, 73%, 48%)
CMYKcmyk(73%, 0%, 68%, 52.2%)
CIE-LABlab(44.78, -43.31, 36.81)
CIE-LCHlch(44.78, 56.84, 139.64°)
OKLaboklab(50.97% -0.1173 0.0853)
OKLCHoklch(50.97% 0.145 144)
XYZxyz(7.9524, 14.3880, 4.2771)
Luminance0.1439 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217A27 #7A2174
analogous
#477A21 #217A27 #217A53
triadic
#217A27 #27217A #7A2721
tetradic
#217A27 #21477A #7A2174 #7A5321
square
#217A27 #21477A #7A2174 #7A5321
split-complementary
#217A27 #53217A #7A2147
monochromatic
#071A08 #144A18 #217A27 #2EAA36 #48CD51

Accessibility & contrast

On white

5.42
#217A27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#217A27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217A27
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217A27#FFFFFF#000000##FFFFFF
##217A271.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E1C
Deuteranopia (green-blind)
#72672E
Tritanopia (blue-blind)
#027769
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #217a27;
/* rgb */ color: rgb(33, 122, 39);
/* oklch */ color: oklch(51.0% 0.145 144.0);
Tailwind
colors: {
  custom: {
    50: '#6ba165',
    500: '#217a27',
    950: '#000000',
  },
}
SCSS
$custom: #217a27;
$custom-light: #6ba165;
$custom-dark: #000000;
JSON
{
  "hex": "#217a27",
  "rgb": {
    "r": 33,
    "g": 122,
    "b": 39
  },
  "hsl": {
    "h": 124.045,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.50968,
    "c": 0.145,
    "h": 144
  },
  "luminance": 0.14389
}

Semantic roles & 50–950 ramp

primary
#217A27
secondary
#AD4AA6
accent
#47D6E1
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #217A27

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

Preview Lab → · Contrast checker → · Palette generator →

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