#217B30#217B30

#217B30 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.4% C 0.139 H 145.8°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#217B30
RGBrgb(33, 123, 48)
HSLhsl(130, 58%, 31%)
HSVhsv(130, 73%, 48%)
CMYKcmyk(73.2%, 0%, 61%, 51.8%)
CIE-LABlab(45.22, -42.57, 33.00)
CIE-LCHlch(45.22, 53.86, 142.22°)
OKLaboklab(51.36% -0.1149 0.078)
OKLCHoklch(51.36% 0.139 145.8)
XYZxyz(8.2431, 14.7017, 5.1990)
Luminance0.1470 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217B30 #7B216C
analogous
#3F7B21 #217B30 #217B5D
triadic
#217B30 #30217B #7B3021
tetradic
#217B30 #213F7B #7B216C #7B5D21
square
#217B30 #213F7B #7B216C #7B5D21
split-complementary
#217B30 #5D217B #7B213F
monochromatic
#071A0A #144B1D #217B30 #2EAB43 #48CE5F

Accessibility & contrast

On white

5.33
#217B30 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#217B30 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217B30
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217B30#FFFFFF#000000##FFFFFF
##217B301.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F28
Deuteranopia (green-blind)
#726836
Tritanopia (blue-blind)
#00786B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #217b30;
/* rgb */ color: rgb(33, 123, 48);
/* oklch */ color: oklch(51.4% 0.139 145.8);
Tailwind
colors: {
  custom: {
    50: '#6aa26b',
    500: '#217b30',
    950: '#000000',
  },
}
SCSS
$custom: #217b30;
$custom-light: #6aa26b;
$custom-dark: #000000;
JSON
{
  "hex": "#217b30",
  "rgb": {
    "r": 33,
    "g": 123,
    "b": 48
  },
  "hsl": {
    "h": 130,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51361,
    "c": 0.13887,
    "h": 145.8
  },
  "luminance": 0.14703
}

Semantic roles & 50–950 ramp

primary
#217B30
secondary
#AE4A9D
accent
#47C7E1
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #217B30

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

Preview Lab → · Contrast checker → · Palette generator →

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