#217F4A#217F4A

#217F4A is a mid, moderate green. Relative luminance 0.160; OKLCH L 52.9% C 0.120 H 153.8°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#217F4A
RGBrgb(33, 127, 74)
HSLhsl(146, 59%, 31%)
HSVhsv(146, 74%, 50%)
CMYKcmyk(74%, 0%, 41.7%, 50.2%)
CIE-LABlab(46.97, -39.77, 21.23)
CIE-LCHlch(46.97, 45.08, 151.90°)
OKLaboklab(52.93% -0.1073 0.0528)
OKLCHoklch(52.93% 0.12 153.8)
XYZxyz(9.4518, 15.9954, 9.0665)
Luminance0.1600 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217F4A #7F2156
analogous
#277F21 #217F4A #217F79
triadic
#217F4A #4A217F #7F4A21
tetradic
#217F4A #21277F #7F2156 #7F7921
square
#217F4A #21277F #7F2156 #7F7921
split-complementary
#217F4A #79217F #7F2127
monochromatic
#081E11 #144E2E #217F4A #2EB066 #4AD085

Accessibility & contrast

On white

5.00
#217F4A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#217F4A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217F4A
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217F4A#FFFFFF#000000##FFFFFF
##217F4A1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7446
Deuteranopia (green-blind)
#736C4E
Tritanopia (blue-blind)
#007D72
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #217f4a;
/* rgb */ color: rgb(33, 127, 74);
/* oklch */ color: oklch(52.9% 0.120 153.8);
Tailwind
colors: {
  custom: {
    50: '#6aa57d',
    500: '#217f4a',
    950: '#000000',
  },
}
SCSS
$custom: #217f4a;
$custom-light: #6aa57d;
$custom-dark: #000000;
JSON
{
  "hex": "#217f4a",
  "rgb": {
    "r": 33,
    "g": 127,
    "b": 74
  },
  "hsl": {
    "h": 146.17,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52927,
    "c": 0.11955,
    "h": 153.8
  },
  "luminance": 0.15996
}

Semantic roles & 50–950 ramp

primary
#217F4A
secondary
#B24A85
accent
#469EE2
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #217F4A

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

Preview Lab → · Contrast checker → · Palette generator →

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