#217F2C#217F2C

#217F2C is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.5% C 0.147 H 144.8°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#217F2C
RGBrgb(33, 127, 44)
HSLhsl(127, 59%, 31%)
HSVhsv(127, 74%, 50%)
CMYKcmyk(74%, 0%, 65.4%, 50.2%)
CIE-LABlab(46.56, -44.56, 36.46)
CIE-LCHlch(46.56, 57.57, 140.70°)
OKLaboklab(52.45% -0.1204 0.0851)
OKLCHoklch(52.45% 0.147 144.8)
XYZxyz(8.6706, 15.6830, 4.9525)
Luminance0.1568 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217F2C #7F2174
analogous
#457F21 #217F2C #217F5B
triadic
#217F2C #2C217F #7F2C21
tetradic
#217F2C #21457F #7F2174 #7F5B21
square
#217F2C #21457F #7F2174 #7F5B21
split-complementary
#217F2C #5B217F #7F2145
monochromatic
#081E0A #144E1B #217F2C #2EB03D #4AD05A

Accessibility & contrast

On white

5.08
#217F2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#217F2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217F2C
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217F2C#FFFFFF#000000##FFFFFF
##217F2C1.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817322
Deuteranopia (green-blind)
#766B33
Tritanopia (blue-blind)
#007C6E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #217f2c;
/* rgb */ color: rgb(33, 127, 44);
/* oklch */ color: oklch(52.5% 0.147 144.8);
Tailwind
colors: {
  custom: {
    50: '#6ca569',
    500: '#217f2c',
    950: '#000000',
  },
}
SCSS
$custom: #217f2c;
$custom-light: #6ca569;
$custom-dark: #000000;
JSON
{
  "hex": "#217f2c",
  "rgb": {
    "r": 33,
    "g": 127,
    "b": 44
  },
  "hsl": {
    "h": 127.021,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52451,
    "c": 0.14743,
    "h": 144.8
  },
  "luminance": 0.15684
}

Semantic roles & 50–950 ramp

primary
#217F2C
secondary
#B24AA6
accent
#46D0E2
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #217F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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