#217E1E#217E1E

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

Color values

HEX#217E1E
RGBrgb(33, 126, 30)
HSLhsl(118, 62%, 31%)
HSVhsv(118, 76%, 49%)
CMYKcmyk(73.8%, 0%, 76.2%, 50.6%)
CIE-LABlab(46.09, -45.62, 41.99)
CIE-LCHlch(46.09, 62.00, 137.38°)
OKLaboklab(52.03% -0.124 0.095)
OKLCHoklch(52.03% 0.156 142.6)
XYZxyz(8.3219, 15.3379, 3.7500)
Luminance0.1534 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217E1E #7B1E7E
analogous
#517E1E #217E1E #1E7E4B
triadic
#217E1E #1E217E #7E1E21
tetradic
#217E1E #1E517E #7B1E7E #7E4B1E
square
#217E1E #1E517E #7B1E7E #7E4B1E
split-complementary
#217E1E #4B1E7E #7E1E51
monochromatic
#071B06 #144D12 #217E1E #2EAF2A #48D244

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##217E1E#FFFFFF#000000##FFFFFF
##217E1E1.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)
#81720C
Deuteranopia (green-blind)
#766A28
Tritanopia (blue-blind)
#037A6B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #217e1e;
/* rgb */ color: rgb(33, 126, 30);
/* oklch */ color: oklch(52.0% 0.156 142.6);
Tailwind
colors: {
  custom: {
    50: '#6ca461',
    500: '#217e1e',
    950: '#000000',
  },
}
SCSS
$custom: #217e1e;
$custom-light: #6ca461;
$custom-dark: #000000;
JSON
{
  "hex": "#217e1e",
  "rgb": {
    "r": 33,
    "g": 126,
    "b": 30
  },
  "hsl": {
    "h": 118.125,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.5203,
    "c": 0.15619,
    "h": 142.6
  },
  "luminance": 0.15339
}

Semantic roles & 50–950 ramp

primary
#217E1E
secondary
#AE47B1
accent
#43E5E0
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #217E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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