#217C30#217C30

#217C30 is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.6% C 0.140 H 145.8°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#217C30
RGBrgb(33, 124, 48)
HSLhsl(130, 58%, 31%)
HSVhsv(130, 73%, 49%)
CMYKcmyk(73.4%, 0%, 61.3%, 51.4%)
CIE-LABlab(45.57, -42.95, 33.40)
CIE-LCHlch(45.57, 54.40, 142.13°)
OKLaboklab(51.65% -0.1159 0.0789)
OKLCHoklch(51.65% 0.14 145.8)
XYZxyz(8.3678, 14.9511, 5.2406)
Luminance0.1495 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217C30 #7C216D
analogous
#3F7C21 #217C30 #217C5D
triadic
#217C30 #30217C #7C3021
tetradic
#217C30 #213F7C #7C216D #7C5D21
square
#217C30 #213F7C #7C216D #7C5D21
split-complementary
#217C30 #5D217C #7C213F
monochromatic
#071B0B #144C1D #217C30 #2EAC43 #49CF5F

Accessibility & contrast

On white

5.26
#217C30 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#217C30 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217C30
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217C30#FFFFFF#000000##FFFFFF
##217C301.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7028
Deuteranopia (green-blind)
#736936
Tritanopia (blue-blind)
#00796B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #217c30;
/* rgb */ color: rgb(33, 124, 48);
/* oklch */ color: oklch(51.6% 0.140 145.8);
Tailwind
colors: {
  custom: {
    50: '#6ba36b',
    500: '#217c30',
    950: '#000000',
  },
}
SCSS
$custom: #217c30;
$custom-light: #6ba36b;
$custom-dark: #000000;
JSON
{
  "hex": "#217c30",
  "rgb": {
    "r": 33,
    "g": 124,
    "b": 48
  },
  "hsl": {
    "h": 129.89,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.51646,
    "c": 0.1402,
    "h": 145.8
  },
  "luminance": 0.14952
}

Semantic roles & 50–950 ramp

primary
#217C30
secondary
#AF4A9E
accent
#47C8E1
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #217C30

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

Preview Lab → · Contrast checker → · Palette generator →

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