#217C1C#217C1C

#217C1C is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.4% C 0.155 H 142.3°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#217C1C
RGBrgb(33, 124, 28)
HSLhsl(117, 63%, 30%)
HSVhsv(117, 77%, 49%)
CMYKcmyk(73.4%, 0%, 77.4%, 51.4%)
CIE-LABlab(45.39, -45.08, 42.04)
CIE-LCHlch(45.39, 61.64, 137.00°)
OKLaboklab(51.44% -0.1227 0.0948)
OKLCHoklch(51.44% 0.155 142.3)
XYZxyz(8.0440, 14.8216, 3.5353)
Luminance0.1482 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217C1C #771C7C
analogous
#517C1C #217C1C #1C7C47
triadic
#217C1C #1C217C #7C1C21
tetradic
#217C1C #1C517C #771C7C #7C471C
square
#217C1C #1C517C #771C7C #7C471C
split-complementary
#217C1C #471C7C #7C1C51
monochromatic
#071906 #144A11 #217C1C #2EAE27 #47D43F

Accessibility & contrast

On white

5.30
#217C1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#217C1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217C1C
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217C1C#FFFFFF#000000##FFFFFF
##217C1C1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7008
Deuteranopia (green-blind)
#756926
Tritanopia (blue-blind)
#05786A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #217c1c;
/* rgb */ color: rgb(33, 124, 28);
/* oklch */ color: oklch(51.4% 0.155 142.3);
Tailwind
colors: {
  custom: {
    50: '#6ca35f',
    500: '#217c1c',
    950: '#000000',
  },
}
SCSS
$custom: #217c1c;
$custom-light: #6ca35f;
$custom-dark: #000000;
JSON
{
  "hex": "#217c1c",
  "rgb": {
    "r": 33,
    "g": 124,
    "b": 28
  },
  "hsl": {
    "h": 116.875,
    "s": 63.158,
    "l": 29.804
  },
  "oklch": {
    "l": 0.51441,
    "c": 0.15501,
    "h": 142.3
  },
  "luminance": 0.14822
}

Semantic roles & 50–950 ramp

primary
#217C1C
secondary
#AA44B0
accent
#42E6DE
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #217C1C

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

Preview Lab → · Contrast checker → · Palette generator →

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