#217B1E#217B1E

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

Color values

HEX#217B1E
RGBrgb(33, 123, 30)
HSLhsl(118, 61%, 30%)
HSVhsv(118, 76%, 48%)
CMYKcmyk(73.2%, 0%, 75.6%, 51.8%)
CIE-LABlab(45.06, -44.56, 40.94)
CIE-LCHlch(45.06, 60.51, 137.43°)
OKLaboklab(51.17% -0.1211 0.0928)
OKLCHoklch(51.17% 0.153 142.6)
XYZxyz(7.9440, 14.5821, 3.6240)
Luminance0.1458 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217B1E #781E7B
analogous
#4F7B1E #217B1E #1E7B4A
triadic
#217B1E #1E217B #7B1E21
tetradic
#217B1E #1E4F7B #781E7B #7B4A1E
square
#217B1E #1E4F7B #781E7B #7B4A1E
split-complementary
#217B1E #4A1E7B #7B1E4F
monochromatic
#071906 #144A12 #217B1E #2EAC2A #47D142

Accessibility & contrast

On white

5.36
#217B1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#217B1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217B1E
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217B1E#FFFFFF#000000##FFFFFF
##217B1E1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F0D
Deuteranopia (green-blind)
#746828
Tritanopia (blue-blind)
#057769
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #217b1e;
/* rgb */ color: rgb(33, 123, 30);
/* oklch */ color: oklch(51.2% 0.153 142.6);
Tailwind
colors: {
  custom: {
    50: '#6ba260',
    500: '#217b1e',
    950: '#000000',
  },
}
SCSS
$custom: #217b1e;
$custom-light: #6ba260;
$custom-dark: #000000;
JSON
{
  "hex": "#217b1e",
  "rgb": {
    "r": 33,
    "g": 123,
    "b": 30
  },
  "hsl": {
    "h": 118.065,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.51169,
    "c": 0.15258,
    "h": 142.6
  },
  "luminance": 0.14583
}

Semantic roles & 50–950 ramp

primary
#217B1E
secondary
#AB46AE
accent
#44E4DF
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #217B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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