#217F46#217F46

#217F46 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.8% C 0.124 H 152.1°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#217F46
RGBrgb(33, 127, 70)
HSLhsl(144, 59%, 31%)
HSVhsv(144, 74%, 50%)
CMYKcmyk(74%, 0%, 44.9%, 50.2%)
CIE-LABlab(46.90, -40.54, 23.38)
CIE-LCHlch(46.90, 46.80, 150.03°)
OKLaboklab(52.85% -0.1092 0.0577)
OKLCHoklch(52.85% 0.124 152.1)
XYZxyz(9.3213, 15.9432, 8.3793)
Luminance0.1594 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217F46 #7F215A
analogous
#2B7F21 #217F46 #217F75
triadic
#217F46 #46217F #7F4621
tetradic
#217F46 #212B7F #7F215A #7F7521
square
#217F46 #212B7F #7F215A #7F7521
split-complementary
#217F46 #75217F #7F212B
monochromatic
#081E10 #144E2B #217F46 #2EB061 #4AD07F

Accessibility & contrast

On white

5.01
#217F46 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#217F46 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217F46
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217F46#FFFFFF#000000##FFFFFF
##217F461.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7442
Deuteranopia (green-blind)
#746C4A
Tritanopia (blue-blind)
#007D71
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #217f46;
/* rgb */ color: rgb(33, 127, 70);
/* oklch */ color: oklch(52.8% 0.124 152.1);
Tailwind
colors: {
  custom: {
    50: '#6ba57a',
    500: '#217f46',
    950: '#000000',
  },
}
SCSS
$custom: #217f46;
$custom-light: #6ba57a;
$custom-dark: #000000;
JSON
{
  "hex": "#217f46",
  "rgb": {
    "r": 33,
    "g": 127,
    "b": 70
  },
  "hsl": {
    "h": 143.617,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52848,
    "c": 0.12351,
    "h": 152.1
  },
  "luminance": 0.15944
}

Semantic roles & 50–950 ramp

primary
#217F46
secondary
#B24A89
accent
#46A5E2
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #217F46

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

Preview Lab → · Contrast checker → · Palette generator →

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