#217E2E#217E2E

#217E2E is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.2% C 0.145 H 145.2°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#217E2E
RGBrgb(33, 126, 46)
HSLhsl(128, 58%, 31%)
HSVhsv(128, 74%, 49%)
CMYKcmyk(73.8%, 0%, 63.5%, 50.6%)
CIE-LABlab(46.23, -43.94, 35.14)
CIE-LCHlch(46.23, 56.27, 141.35°)
OKLaboklab(52.19% -0.1187 0.0825)
OKLCHoklch(52.19% 0.145 145.2)
XYZxyz(8.5806, 15.4413, 5.1125)
Luminance0.1544 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217E2E #7E2171
analogous
#427E21 #217E2E #217E5C
triadic
#217E2E #2E217E #7E2E21
tetradic
#217E2E #21427E #7E2171 #7E5C21
square
#217E2E #21427E #7E2171 #7E5C21
split-complementary
#217E2E #5C217E #7E2142
monochromatic
#081D0B #144E1C #217E2E #2EAE40 #4AD05D

Accessibility & contrast

On white

5.14
#217E2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#217E2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217E2E
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217E2E#FFFFFF#000000##FFFFFF
##217E2E1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807225
Deuteranopia (green-blind)
#756B35
Tritanopia (blue-blind)
#007B6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #217e2e;
/* rgb */ color: rgb(33, 126, 46);
/* oklch */ color: oklch(52.2% 0.145 145.2);
Tailwind
colors: {
  custom: {
    50: '#6ba46a',
    500: '#217e2e',
    950: '#000000',
  },
}
SCSS
$custom: #217e2e;
$custom-light: #6ba46a;
$custom-dark: #000000;
JSON
{
  "hex": "#217e2e",
  "rgb": {
    "r": 33,
    "g": 126,
    "b": 46
  },
  "hsl": {
    "h": 128.387,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.5219,
    "c": 0.14451,
    "h": 145.2
  },
  "luminance": 0.15442
}

Semantic roles & 50–950 ramp

primary
#217E2E
secondary
#B14AA2
accent
#46CCE2
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #217E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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