#217D30#217D30

#217D30 is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.9% C 0.142 H 145.7°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#217D30
RGBrgb(33, 125, 48)
HSLhsl(130, 58%, 31%)
HSVhsv(130, 74%, 49%)
CMYKcmyk(73.6%, 0%, 61.6%, 51%)
CIE-LABlab(45.91, -43.32, 33.80)
CIE-LCHlch(45.91, 54.94, 142.04°)
OKLaboklab(51.93% -0.1169 0.0797)
OKLCHoklch(51.93% 0.142 145.7)
XYZxyz(8.4937, 15.2030, 5.2826)
Luminance0.1520 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217D30 #7D216E
analogous
#407D21 #217D30 #217D5E
triadic
#217D30 #30217D #7D3021
tetradic
#217D30 #21407D #7D216E #7D5E21
square
#217D30 #21407D #7D216E #7D5E21
split-complementary
#217D30 #5E217D #7D2140
monochromatic
#071C0B #144D1D #217D30 #2EAD43 #49CF5F

Accessibility & contrast

On white

5.20
#217D30 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#217D30 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217D30
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217D30#FFFFFF#000000##FFFFFF
##217D301.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7128
Deuteranopia (green-blind)
#746A36
Tritanopia (blue-blind)
#007A6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #217d30;
/* rgb */ color: rgb(33, 125, 48);
/* oklch */ color: oklch(51.9% 0.142 145.7);
Tailwind
colors: {
  custom: {
    50: '#6ba46b',
    500: '#217d30',
    950: '#000000',
  },
}
SCSS
$custom: #217d30;
$custom-light: #6ba46b;
$custom-dark: #000000;
JSON
{
  "hex": "#217d30",
  "rgb": {
    "r": 33,
    "g": 125,
    "b": 48
  },
  "hsl": {
    "h": 129.783,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.51931,
    "c": 0.14151,
    "h": 145.7
  },
  "luminance": 0.15204
}

Semantic roles & 50–950 ramp

primary
#217D30
secondary
#B04A9F
accent
#46C8E1
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #217D30

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

Preview Lab → · Contrast checker → · Palette generator →

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