#217538#217538

#217538 is a mid, vivid green. Relative luminance 0.133; OKLCH L 49.8% C 0.123 H 148.6°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#217538
RGBrgb(33, 117, 56)
HSLhsl(136, 56%, 29%)
HSVhsv(136, 72%, 46%)
CMYKcmyk(71.8%, 0%, 52.1%, 54.1%)
CIE-LABlab(43.26, -39.05, 26.45)
CIE-LCHlch(43.26, 47.17, 145.89°)
OKLaboklab(49.77% -0.1052 0.0641)
OKLCHoklch(49.77% 0.123 148.6)
XYZxyz(7.7017, 13.3306, 5.9078)
Luminance0.1333 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217538 #75215E
analogous
#347521 #217538 #217562
triadic
#217538 #382175 #753821
tetradic
#217538 #213475 #75215E #756221
square
#217538 #213475 #75215E #756221
split-complementary
#217538 #622175 #752134
monochromatic
#07180B #144521 #217538 #2EA54F #46CB6A

Accessibility & contrast

On white

5.73
#217538 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#217538 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217538
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217538#FFFFFF#000000##FFFFFF
##2175381.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766A33
Deuteranopia (green-blind)
#6C633C
Tritanopia (blue-blind)
#007367
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #217538;
/* rgb */ color: rgb(33, 117, 56);
/* oklch */ color: oklch(49.8% 0.123 148.6);
Tailwind
colors: {
  custom: {
    50: '#699e70',
    500: '#217538',
    950: '#000000',
  },
}
SCSS
$custom: #217538;
$custom-light: #699e70;
$custom-dark: #000000;
JSON
{
  "hex": "#217538",
  "rgb": {
    "r": 33,
    "g": 117,
    "b": 56
  },
  "hsl": {
    "h": 136.429,
    "s": 56,
    "l": 29.412
  },
  "oklch": {
    "l": 0.49769,
    "c": 0.12322,
    "h": 148.6
  },
  "luminance": 0.13331
}

Semantic roles & 50–950 ramp

primary
#217538
secondary
#A84A8E
accent
#49B6DF
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #217538

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

Preview Lab → · Contrast checker → · Palette generator →

#217538 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva