#217A38#217A38

#217A38 is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.2% C 0.130 H 148.0°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#217A38
RGBrgb(33, 122, 56)
HSLhsl(136, 57%, 30%)
HSVhsv(136, 73%, 48%)
CMYKcmyk(73%, 0%, 54.1%, 52.2%)
CIE-LABlab(44.98, -41.02, 28.58)
CIE-LCHlch(44.98, 49.99, 145.13°)
OKLaboklab(51.19% -0.1105 0.0689)
OKLCHoklch(51.19% 0.13 148)
XYZxyz(8.2999, 14.5270, 6.1072)
Luminance0.1453 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217A38 #7A2163
analogous
#367A21 #217A38 #217A64
triadic
#217A38 #38217A #7A3821
tetradic
#217A38 #21367A #7A2163 #7A6421
square
#217A38 #21367A #7A2163 #7A6421
split-complementary
#217A38 #64217A #7A2136
monochromatic
#071A0C #144A22 #217A38 #2EAA4E #48CD6A

Accessibility & contrast

On white

5.38
#217A38 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#217A38 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217A38
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217A38#FFFFFF#000000##FFFFFF
##217A381.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6F32
Deuteranopia (green-blind)
#71673D
Tritanopia (blue-blind)
#00776B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #217a38;
/* rgb */ color: rgb(33, 122, 56);
/* oklch */ color: oklch(51.2% 0.130 148.0);
Tailwind
colors: {
  custom: {
    50: '#6aa170',
    500: '#217a38',
    950: '#000000',
  },
}
SCSS
$custom: #217a38;
$custom-light: #6aa170;
$custom-dark: #000000;
JSON
{
  "hex": "#217a38",
  "rgb": {
    "r": 33,
    "g": 122,
    "b": 56
  },
  "hsl": {
    "h": 135.506,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51192,
    "c": 0.1302,
    "h": 148
  },
  "luminance": 0.14528
}

Semantic roles & 50–950 ramp

primary
#217A38
secondary
#AD4A93
accent
#47B9E1
background
#F6FAF6
surface
#ECF3EC
border
#C7CDC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #217A38

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

Preview Lab → · Contrast checker → · Palette generator →

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