#217D1E#217D1E

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

Color values

HEX#217D1E
RGBrgb(33, 125, 30)
HSLhsl(118, 61%, 30%)
HSVhsv(118, 76%, 49%)
CMYKcmyk(73.6%, 0%, 76%, 51%)
CIE-LABlab(45.75, -45.27, 41.64)
CIE-LCHlch(45.75, 61.51, 137.39°)
OKLaboklab(51.74% -0.1231 0.0942)
OKLCHoklch(51.74% 0.155 142.6)
XYZxyz(8.1947, 15.0834, 3.7076)
Luminance0.1508 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217D1E #7A1E7D
analogous
#507D1E #217D1E #1E7D4A
triadic
#217D1E #1E217D #7D1E21
tetradic
#217D1E #1E507D #7A1E7D #7D4A1E
square
#217D1E #1E507D #7A1E7D #7D4A1E
split-complementary
#217D1E #4A1E7D #7D1E50
monochromatic
#071A06 #144C12 #217D1E #2EAE2A #48D243

Accessibility & contrast

On white

5.23
#217D1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#217D1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217D1E
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217D1E#FFFFFF#000000##FFFFFF
##217D1E1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80710C
Deuteranopia (green-blind)
#756A28
Tritanopia (blue-blind)
#03796B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #217d1e;
/* rgb */ color: rgb(33, 125, 30);
/* oklch */ color: oklch(51.7% 0.155 142.6);
Tailwind
colors: {
  custom: {
    50: '#6ca460',
    500: '#217d1e',
    950: '#000000',
  },
}
SCSS
$custom: #217d1e;
$custom-light: #6ca460;
$custom-dark: #000000;
JSON
{
  "hex": "#217d1e",
  "rgb": {
    "r": 33,
    "g": 125,
    "b": 30
  },
  "hsl": {
    "h": 118.105,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51743,
    "c": 0.15499,
    "h": 142.6
  },
  "luminance": 0.15084
}

Semantic roles & 50–950 ramp

primary
#217D1E
secondary
#AD46B0
accent
#43E4DF
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #217D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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