#217321#217321

#217321 is a mid, vivid green. Relative luminance 0.127; OKLCH L 48.9% C 0.141 H 143.0°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#217321
RGBrgb(33, 115, 33)
HSLhsl(120, 55%, 29%)
HSVhsv(120, 71%, 45%)
CMYKcmyk(71.3%, 0%, 71.3%, 54.9%)
CIE-LABlab(42.30, -41.38, 36.81)
CIE-LCHlch(42.30, 55.39, 138.34°)
OKLaboklab(48.89% -0.1124 0.0845)
OKLCHoklch(48.89% 0.141 143)
XYZxyz(7.0320, 12.6939, 3.5181)
Luminance0.1270 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217321 #732173
analogous
#4A7321 #217321 #21734A
triadic
#217321 #212173 #732121
tetradic
#217321 #214A73 #732173 #734A21
square
#217321 #214A73 #732173 #734A21
split-complementary
#217321 #4A2173 #73214A
monochromatic
#071807 #134313 #217321 #2FA32F #45CA45

Accessibility & contrast

On white

5.93
#217321 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#217321 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217321
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217321#FFFFFF#000000##FFFFFF
##2173211.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766815
Deuteranopia (green-blind)
#6C6129
Tritanopia (blue-blind)
#0B7062
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #217321;
/* rgb */ color: rgb(33, 115, 33);
/* oklch */ color: oklch(48.9% 0.141 143.0);
Tailwind
colors: {
  custom: {
    50: '#699c61',
    500: '#217321',
    950: '#000000',
  },
}
SCSS
$custom: #217321;
$custom-light: #699c61;
$custom-dark: #000000;
JSON
{
  "hex": "#217321",
  "rgb": {
    "r": 33,
    "g": 115,
    "b": 33
  },
  "hsl": {
    "h": 120,
    "s": 55.405,
    "l": 29.02
  },
  "oklch": {
    "l": 0.4889,
    "c": 0.14061,
    "h": 143
  },
  "luminance": 0.12695
}

Semantic roles & 50–950 ramp

primary
#217321
secondary
#A649A6
accent
#49DFDF
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #217321

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

Preview Lab → · Contrast checker → · Palette generator →

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