#217B1D#217B1D

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

Color values

HEX#217B1D
RGBrgb(33, 123, 29)
HSLhsl(117, 62%, 30%)
HSVhsv(117, 76%, 48%)
CMYKcmyk(73.2%, 0%, 76.4%, 51.8%)
CIE-LABlab(45.05, -44.65, 41.32)
CIE-LCHlch(45.05, 60.83, 137.22°)
OKLaboklab(51.16% -0.1214 0.0934)
OKLCHoklch(51.16% 0.153 142.4)
XYZxyz(7.9315, 14.5771, 3.5578)
Luminance0.1458 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217B1D #771D7B
analogous
#507B1D #217B1D #1D7B48
triadic
#217B1D #1D217B #7B1D21
tetradic
#217B1D #1D507B #771D7B #7B481D
square
#217B1D #1D507B #771D7B #7B481D
split-complementary
#217B1D #481D7B #7B1D50
monochromatic
#071906 #144911 #217B1D #2EAD29 #47D240

Accessibility & contrast

On white

5.36
#217B1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#217B1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217B1D
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217B1D#FFFFFF#000000##FFFFFF
##217B1D1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F0B
Deuteranopia (green-blind)
#746827
Tritanopia (blue-blind)
#067769
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #217b1d;
/* rgb */ color: rgb(33, 123, 29);
/* oklch */ color: oklch(51.2% 0.153 142.4);
Tailwind
colors: {
  custom: {
    50: '#6ba260',
    500: '#217b1d',
    950: '#000000',
  },
}
SCSS
$custom: #217b1d;
$custom-light: #6ba260;
$custom-dark: #000000;
JSON
{
  "hex": "#217b1d",
  "rgb": {
    "r": 33,
    "g": 123,
    "b": 29
  },
  "hsl": {
    "h": 117.447,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.51161,
    "c": 0.15321,
    "h": 142.4
  },
  "luminance": 0.14578
}

Semantic roles & 50–950 ramp

primary
#217B1D
secondary
#AA45AF
accent
#43E5DE
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #217B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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