#217135#217135

#217135 is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.6% C 0.120 H 148.1°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#217135
RGBrgb(33, 113, 53)
HSLhsl(135, 55%, 29%)
HSVhsv(135, 71%, 44%)
CMYKcmyk(70.8%, 0%, 53.1%, 55.7%)
CIE-LABlab(41.83, -37.95, 26.31)
CIE-LCHlch(41.83, 46.18, 145.27°)
OKLaboklab(48.58% -0.1023 0.0637)
OKLCHoklch(48.58% 0.12 148.1)
XYZxyz(7.1744, 12.3899, 5.3809)
Luminance0.1239 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217135 #71215D
analogous
#357121 #217135 #21715D
triadic
#217135 #352171 #713521
tetradic
#217135 #213571 #71215D #715D21
square
#217135 #213571 #71215D #715D21
split-complementary
#217135 #5D2171 #712135
monochromatic
#07180B #13421F #217135 #2FA04B #44C865

Accessibility & contrast

On white

6.04
#217135 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#217135 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217135
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217135#FFFFFF#000000##FFFFFF
##2171351.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726730
Deuteranopia (green-blind)
#686039
Tritanopia (blue-blind)
#006F63
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #217135;
/* rgb */ color: rgb(33, 113, 53);
/* oklch */ color: oklch(48.6% 0.120 148.1);
Tailwind
colors: {
  custom: {
    50: '#689b6d',
    500: '#217135',
    950: '#000000',
  },
}
SCSS
$custom: #217135;
$custom-light: #689b6d;
$custom-dark: #000000;
JSON
{
  "hex": "#217135",
  "rgb": {
    "r": 33,
    "g": 113,
    "b": 53
  },
  "hsl": {
    "h": 135,
    "s": 54.795,
    "l": 28.627
  },
  "oklch": {
    "l": 0.48575,
    "c": 0.12049,
    "h": 148.1
  },
  "luminance": 0.12391
}

Semantic roles & 50–950 ramp

primary
#217135
secondary
#A5498E
accent
#4AB9DE
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #217135

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

Preview Lab → · Contrast checker → · Palette generator →

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