#217A30#217A30

#217A30 is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.1% C 0.138 H 145.9°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#217A30
RGBrgb(33, 122, 48)
HSLhsl(130, 57%, 30%)
HSVhsv(130, 73%, 48%)
CMYKcmyk(73%, 0%, 60.7%, 52.2%)
CIE-LABlab(44.88, -42.20, 32.60)
CIE-LCHlch(44.88, 53.32, 142.31°)
OKLaboklab(51.08% -0.1139 0.0771)
OKLCHoklch(51.08% 0.138 145.9)
XYZxyz(8.1197, 14.4549, 5.1579)
Luminance0.1446 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217A30 #7A216B
analogous
#3F7A21 #217A30 #217A5C
triadic
#217A30 #30217A #7A3021
tetradic
#217A30 #213F7A #7A216B #7A5C21
square
#217A30 #213F7A #7A216B #7A5C21
split-complementary
#217A30 #5C217A #7A213F
monochromatic
#071A0A #144A1D #217A30 #2EAA43 #48CD5E

Accessibility & contrast

On white

5.40
#217A30 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#217A30 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217A30
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217A30#FFFFFF#000000##FFFFFF
##217A301.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6F28
Deuteranopia (green-blind)
#716736
Tritanopia (blue-blind)
#00776A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #217a30;
/* rgb */ color: rgb(33, 122, 48);
/* oklch */ color: oklch(51.1% 0.138 145.9);
Tailwind
colors: {
  custom: {
    50: '#6aa16b',
    500: '#217a30',
    950: '#000000',
  },
}
SCSS
$custom: #217a30;
$custom-light: #6aa16b;
$custom-dark: #000000;
JSON
{
  "hex": "#217a30",
  "rgb": {
    "r": 33,
    "g": 122,
    "b": 48
  },
  "hsl": {
    "h": 130.112,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51076,
    "c": 0.13754,
    "h": 145.9
  },
  "luminance": 0.14456
}

Semantic roles & 50–950 ramp

primary
#217A30
secondary
#AD4A9C
accent
#47C7E1
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #217A30

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

Preview Lab → · Contrast checker → · Palette generator →

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