#217B2C#217B2C

#217B2C is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.3% C 0.142 H 144.9°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#217B2C
RGBrgb(33, 123, 44)
HSLhsl(127, 58%, 31%)
HSVhsv(127, 73%, 48%)
CMYKcmyk(73.2%, 0%, 64.2%, 51.8%)
CIE-LABlab(45.18, -43.09, 34.91)
CIE-LCHlch(45.18, 55.46, 140.99°)
OKLaboklab(51.31% -0.1165 0.0818)
OKLCHoklch(51.31% 0.142 144.9)
XYZxyz(8.1642, 14.6702, 4.7837)
Luminance0.1467 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217B2C #7B2170
analogous
#437B21 #217B2C #217B59
triadic
#217B2C #2C217B #7B2C21
tetradic
#217B2C #21437B #7B2170 #7B5921
square
#217B2C #21437B #7B2170 #7B5921
split-complementary
#217B2C #59217B #7B2143
monochromatic
#071A09 #144B1B #217B2C #2EAB3D #48CE59

Accessibility & contrast

On white

5.34
#217B2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#217B2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217B2C
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217B2C#FFFFFF#000000##FFFFFF
##217B2C1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F23
Deuteranopia (green-blind)
#736833
Tritanopia (blue-blind)
#00786A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #217b2c;
/* rgb */ color: rgb(33, 123, 44);
/* oklch */ color: oklch(51.3% 0.142 144.9);
Tailwind
colors: {
  custom: {
    50: '#6ba268',
    500: '#217b2c',
    950: '#000000',
  },
}
SCSS
$custom: #217b2c;
$custom-light: #6ba268;
$custom-dark: #000000;
JSON
{
  "hex": "#217b2c",
  "rgb": {
    "r": 33,
    "g": 123,
    "b": 44
  },
  "hsl": {
    "h": 127.333,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51311,
    "c": 0.14229,
    "h": 144.9
  },
  "luminance": 0.14671
}

Semantic roles & 50–950 ramp

primary
#217B2C
secondary
#AE4AA2
accent
#47CEE1
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #217B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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