#217C1A#217C1A

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

Color values

HEX#217C1A
RGBrgb(33, 124, 26)
HSLhsl(116, 65%, 29%)
HSVhsv(116, 79%, 49%)
CMYKcmyk(73.4%, 0%, 79%, 51.4%)
CIE-LABlab(45.38, -45.24, 42.76)
CIE-LCHlch(45.38, 62.25, 136.62°)
OKLaboklab(51.43% -0.1232 0.096)
OKLCHoklch(51.43% 0.156 142.1)
XYZxyz(8.0208, 14.8123, 3.4134)
Luminance0.1481 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217C1A #751A7C
analogous
#527C1A #217C1A #1A7C44
triadic
#217C1A #1A217C #7C1A21
tetradic
#217C1A #1A527C #751A7C #7C441A
square
#217C1A #1A527C #751A7C #7C441A
split-complementary
#217C1A #441A7C #7C1A52
monochromatic
#071905 #14490F #217C1A #2EAF25 #46D63B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##217C1A#FFFFFF#000000##FFFFFF
##217C1A1.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)
#7F7004
Deuteranopia (green-blind)
#756925
Tritanopia (blue-blind)
#067869
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #217c1a;
/* rgb */ color: rgb(33, 124, 26);
/* oklch */ color: oklch(51.4% 0.156 142.1);
Tailwind
colors: {
  custom: {
    50: '#6ca35e',
    500: '#217c1a',
    950: '#000000',
  },
}
SCSS
$custom: #217c1a;
$custom-light: #6ca35e;
$custom-dark: #000000;
JSON
{
  "hex": "#217c1a",
  "rgb": {
    "r": 33,
    "g": 124,
    "b": 26
  },
  "hsl": {
    "h": 115.714,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51426,
    "c": 0.15616,
    "h": 142.1
  },
  "luminance": 0.14813
}

Semantic roles & 50–950 ramp

primary
#217C1A
secondary
#A842B0
accent
#40E8DC
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #217C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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