#217D1A#217D1A

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

Color values

HEX#217D1A
RGBrgb(33, 125, 26)
HSLhsl(116, 66%, 30%)
HSVhsv(116, 79%, 49%)
CMYKcmyk(73.6%, 0%, 79.2%, 51%)
CIE-LABlab(45.72, -45.59, 43.10)
CIE-LCHlch(45.72, 62.74, 136.61°)
OKLaboklab(51.71% -0.1241 0.0967)
OKLCHoklch(51.71% 0.157 142.1)
XYZxyz(8.1468, 15.0643, 3.4554)
Luminance0.1507 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217D1A #761A7D
analogous
#527D1A #217D1A #1A7D45
triadic
#217D1A #1A217D #7D1A21
tetradic
#217D1A #1A527D #761A7D #7D451A
square
#217D1A #1A527D #761A7D #7D451A
split-complementary
#217D1A #451A7D #7D1A52
monochromatic
#071905 #144A0F #217D1A #2EB025 #46D63B

Accessibility & contrast

On white

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

On black

4.01
#217D1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##217D1A#FFFFFF#000000##FFFFFF
##217D1A1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807103
Deuteranopia (green-blind)
#766925
Tritanopia (blue-blind)
#05796A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #217d1a;
/* rgb */ color: rgb(33, 125, 26);
/* oklch */ color: oklch(51.7% 0.157 142.1);
Tailwind
colors: {
  custom: {
    50: '#6ca45f',
    500: '#217d1a',
    950: '#000000',
  },
}
SCSS
$custom: #217d1a;
$custom-light: #6ca45f;
$custom-dark: #000000;
JSON
{
  "hex": "#217d1a",
  "rgb": {
    "r": 33,
    "g": 125,
    "b": 26
  },
  "hsl": {
    "h": 115.758,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51713,
    "c": 0.15735,
    "h": 142.1
  },
  "luminance": 0.15065
}

Semantic roles & 50–950 ramp

primary
#217D1A
secondary
#A942B1
accent
#3FE9DD
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #217D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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