#217E1A#217E1A

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

Color values

HEX#217E1A
RGBrgb(33, 126, 26)
HSLhsl(116, 66%, 30%)
HSVhsv(116, 79%, 49%)
CMYKcmyk(73.8%, 0%, 79.4%, 50.6%)
CIE-LABlab(46.07, -45.94, 43.44)
CIE-LCHlch(46.07, 63.22, 136.60°)
OKLaboklab(52% -0.1251 0.0974)
OKLCHoklch(52% 0.159 142.1)
XYZxyz(8.2740, 15.3187, 3.4978)
Luminance0.1532 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217E1A #771A7E
analogous
#537E1A #217E1A #1A7E45
triadic
#217E1A #1A217E #7E1A21
tetradic
#217E1A #1A537E #771A7E #7E451A
square
#217E1A #1A537E #771A7E #7E451A
split-complementary
#217E1A #451A7E #7E1A53
monochromatic
#071905 #144B10 #217E1A #2EB124 #47D73C

Accessibility & contrast

On white

5.17
#217E1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#217E1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217E1A
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217E1A#FFFFFF#000000##FFFFFF
##217E1A1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817203
Deuteranopia (green-blind)
#766A25
Tritanopia (blue-blind)
#047A6B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #217e1a;
/* rgb */ color: rgb(33, 126, 26);
/* oklch */ color: oklch(52.0% 0.159 142.1);
Tailwind
colors: {
  custom: {
    50: '#6ca45f',
    500: '#217e1a',
    950: '#000000',
  },
}
SCSS
$custom: #217e1a;
$custom-light: #6ca45f;
$custom-dark: #000000;
JSON
{
  "hex": "#217e1a",
  "rgb": {
    "r": 33,
    "g": 126,
    "b": 26
  },
  "hsl": {
    "h": 115.8,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52,
    "c": 0.15852,
    "h": 142.1
  },
  "luminance": 0.1532
}

Semantic roles & 50–950 ramp

primary
#217E1A
secondary
#AA42B2
accent
#3FE9DD
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #217E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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