#217235#217235

#217235 is a mid, vivid green. Relative luminance 0.126; OKLCH L 48.9% C 0.122 H 148.0°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#217235
RGBrgb(33, 114, 53)
HSLhsl(135, 55%, 29%)
HSVhsv(135, 71%, 45%)
CMYKcmyk(71.1%, 0%, 53.5%, 55.3%)
CIE-LABlab(42.18, -38.35, 26.74)
CIE-LCHlch(42.18, 46.76, 145.12°)
OKLaboklab(48.86% -0.1034 0.0646)
OKLCHoklch(48.86% 0.122 148)
XYZxyz(7.2866, 12.6142, 5.4182)
Luminance0.1262 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217235 #72215E
analogous
#367221 #217235 #21725E
triadic
#217235 #352172 #723521
tetradic
#217235 #213672 #72215E #725E21
square
#217235 #213672 #72215E #725E21
split-complementary
#217235 #5E2172 #722136
monochromatic
#07180B #13431F #217235 #2FA14B #44C965

Accessibility & contrast

On white

5.96
#217235 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#217235 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217235
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217235#FFFFFF#000000##FFFFFF
##2172351.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736830
Deuteranopia (green-blind)
#696139
Tritanopia (blue-blind)
#007064
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #217235;
/* rgb */ color: rgb(33, 114, 53);
/* oklch */ color: oklch(48.9% 0.122 148.0);
Tailwind
colors: {
  custom: {
    50: '#689b6d',
    500: '#217235',
    950: '#000000',
  },
}
SCSS
$custom: #217235;
$custom-light: #689b6d;
$custom-dark: #000000;
JSON
{
  "hex": "#217235",
  "rgb": {
    "r": 33,
    "g": 114,
    "b": 53
  },
  "hsl": {
    "h": 134.815,
    "s": 55.102,
    "l": 28.824
  },
  "oklch": {
    "l": 0.48862,
    "c": 0.12191,
    "h": 148
  },
  "luminance": 0.12615
}

Semantic roles & 50–950 ramp

primary
#217235
secondary
#A5498F
accent
#49BADE
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #217235

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

Preview Lab → · Contrast checker → · Palette generator →

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