#217E30#217E30

#217E30 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.2% C 0.143 H 145.6°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#217E30
RGBrgb(33, 126, 48)
HSLhsl(130, 58%, 31%)
HSVhsv(130, 74%, 49%)
CMYKcmyk(73.8%, 0%, 61.9%, 50.6%)
CIE-LABlab(46.25, -43.69, 34.20)
CIE-LCHlch(46.25, 55.48, 141.95°)
OKLaboklab(52.22% -0.1179 0.0806)
OKLCHoklch(52.22% 0.143 145.6)
XYZxyz(8.6210, 15.4575, 5.3250)
Luminance0.1546 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217E30 #7E216F
analogous
#407E21 #217E30 #217E5E
triadic
#217E30 #30217E #7E3021
tetradic
#217E30 #21407E #7E216F #7E5E21
square
#217E30 #21407E #7E216F #7E5E21
split-complementary
#217E30 #5E217E #7E2140
monochromatic
#081D0B #144E1E #217E30 #2EAE42 #4AD05F

Accessibility & contrast

On white

5.13
#217E30 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#217E30 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217E30
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217E30#FFFFFF#000000##FFFFFF
##217E301.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807228
Deuteranopia (green-blind)
#756B36
Tritanopia (blue-blind)
#007B6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #217e30;
/* rgb */ color: rgb(33, 126, 48);
/* oklch */ color: oklch(52.2% 0.143 145.6);
Tailwind
colors: {
  custom: {
    50: '#6ba46b',
    500: '#217e30',
    950: '#000000',
  },
}
SCSS
$custom: #217e30;
$custom-light: #6ba46b;
$custom-dark: #000000;
JSON
{
  "hex": "#217e30",
  "rgb": {
    "r": 33,
    "g": 126,
    "b": 48
  },
  "hsl": {
    "h": 129.677,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52215,
    "c": 0.14283,
    "h": 145.6
  },
  "luminance": 0.15458
}

Semantic roles & 50–950 ramp

primary
#217E30
secondary
#B14AA0
accent
#46C9E2
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F07
muted
#7A7F7A

Preview Lab

Preview with #217E30

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

Preview Lab → · Contrast checker → · Palette generator →

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