#217E1D#217E1D

#217E1D is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.0% C 0.157 H 142.4°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#217E1D
RGBrgb(33, 126, 29)
HSLhsl(118, 63%, 30%)
HSVhsv(118, 77%, 49%)
CMYKcmyk(73.8%, 0%, 77%, 50.6%)
CIE-LABlab(46.09, -45.70, 42.36)
CIE-LCHlch(46.09, 62.32, 137.17°)
OKLaboklab(52.02% -0.1243 0.0956)
OKLCHoklch(52.02% 0.157 142.4)
XYZxyz(8.3093, 15.3328, 3.6838)
Luminance0.1533 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217E1D #7A1D7E
analogous
#517E1D #217E1D #1D7E49
triadic
#217E1D #1D217E #7E1D21
tetradic
#217E1D #1D517E #7A1D7E #7E491D
square
#217E1D #1D517E #7A1D7E #7E491D
split-complementary
#217E1D #491D7E #7E1D51
monochromatic
#071B06 #144C12 #217E1D #2EB028 #48D342

Accessibility & contrast

On white

5.16
#217E1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#217E1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217E1D
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217E1D#FFFFFF#000000##FFFFFF
##217E1D1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817209
Deuteranopia (green-blind)
#766A27
Tritanopia (blue-blind)
#037A6B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #217e1d;
/* rgb */ color: rgb(33, 126, 29);
/* oklch */ color: oklch(52.0% 0.157 142.4);
Tailwind
colors: {
  custom: {
    50: '#6ca460',
    500: '#217e1d',
    950: '#000000',
  },
}
SCSS
$custom: #217e1d;
$custom-light: #6ca460;
$custom-dark: #000000;
JSON
{
  "hex": "#217e1d",
  "rgb": {
    "r": 33,
    "g": 126,
    "b": 29
  },
  "hsl": {
    "h": 117.526,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52022,
    "c": 0.15679,
    "h": 142.4
  },
  "luminance": 0.15334
}

Semantic roles & 50–950 ramp

primary
#217E1D
secondary
#AD45B1
accent
#42E6DF
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #217E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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