#217A1E#217A1E

#217A1E is a mid, vivid green. Relative luminance 0.143; OKLCH L 50.9% C 0.151 H 142.6°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#217A1E
RGBrgb(33, 122, 30)
HSLhsl(118, 61%, 30%)
HSVhsv(118, 75%, 48%)
CMYKcmyk(73%, 0%, 75.4%, 52.2%)
CIE-LABlab(44.71, -44.21, 40.58)
CIE-LCHlch(44.71, 60.01, 137.45°)
OKLaboklab(50.88% -0.1202 0.092)
OKLCHoklch(50.88% 0.151 142.6)
XYZxyz(7.8206, 14.3353, 3.5829)
Luminance0.1434 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217A1E #771E7A
analogous
#4F7A1E #217A1E #1E7A49
triadic
#217A1E #1E217A #7A1E21
tetradic
#217A1E #1E4F7A #771E7A #7A491E
square
#217A1E #1E4F7A #771E7A #7A491E
split-complementary
#217A1E #491E7A #7A1E4F
monochromatic
#071906 #144912 #217A1E #2EAB2A #47D042

Accessibility & contrast

On white

5.43
#217A1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#217A1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217A1E
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217A1E#FFFFFF#000000##FFFFFF
##217A1E1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E0E
Deuteranopia (green-blind)
#736728
Tritanopia (blue-blind)
#067668
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #217a1e;
/* rgb */ color: rgb(33, 122, 30);
/* oklch */ color: oklch(50.9% 0.151 142.6);
Tailwind
colors: {
  custom: {
    50: '#6ba160',
    500: '#217a1e',
    950: '#000000',
  },
}
SCSS
$custom: #217a1e;
$custom-light: #6ba160;
$custom-dark: #000000;
JSON
{
  "hex": "#217a1e",
  "rgb": {
    "r": 33,
    "g": 122,
    "b": 30
  },
  "hsl": {
    "h": 118.043,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.50882,
    "c": 0.15136,
    "h": 142.6
  },
  "luminance": 0.14336
}

Semantic roles & 50–950 ramp

primary
#217A1E
secondary
#AA46AE
accent
#44E4DE
background
#F6FAF5
surface
#ECF3EA
border
#C7CDC6
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #217A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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