#217F3A#217F3A

#217F3A is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.6% C 0.135 H 148.1°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#217F3A
RGBrgb(33, 127, 58)
HSLhsl(136, 59%, 31%)
HSVhsv(136, 74%, 50%)
CMYKcmyk(74%, 0%, 54.3%, 50.2%)
CIE-LABlab(46.72, -42.62, 29.65)
CIE-LCHlch(46.72, 51.92, 145.17°)
OKLaboklab(52.64% -0.1147 0.0714)
OKLCHoklch(52.64% 0.135 148.1)
XYZxyz(8.9796, 15.8066, 6.5799)
Luminance0.1581 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217F3A #7F2166
analogous
#377F21 #217F3A #217F69
triadic
#217F3A #3A217F #7F3A21
tetradic
#217F3A #21377F #7F2166 #7F6921
square
#217F3A #21377F #7F2166 #7F6921
split-complementary
#217F3A #69217F #7F2137
monochromatic
#081E0E #144E24 #217F3A #2EB050 #4AD06E

Accessibility & contrast

On white

5.05
#217F3A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#217F3A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217F3A
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217F3A#FFFFFF#000000##FFFFFF
##217F3A1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807334
Deuteranopia (green-blind)
#756C3F
Tritanopia (blue-blind)
#007C6F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #217f3a;
/* rgb */ color: rgb(33, 127, 58);
/* oklch */ color: oklch(52.6% 0.135 148.1);
Tailwind
colors: {
  custom: {
    50: '#6ba572',
    500: '#217f3a',
    950: '#000000',
  },
}
SCSS
$custom: #217f3a;
$custom-light: #6ba572;
$custom-dark: #000000;
JSON
{
  "hex": "#217f3a",
  "rgb": {
    "r": 33,
    "g": 127,
    "b": 58
  },
  "hsl": {
    "h": 135.957,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.5264,
    "c": 0.13515,
    "h": 148.1
  },
  "luminance": 0.15808
}

Semantic roles & 50–950 ramp

primary
#217F3A
secondary
#B24A96
accent
#46B8E2
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #217F3A

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

Preview Lab → · Contrast checker → · Palette generator →

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