#217340#217340

#217340 is a mid, moderate green. Relative luminance 0.130; OKLCH L 49.3% C 0.112 H 152.1°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#217340
RGBrgb(33, 115, 64)
HSLhsl(143, 55%, 29%)
HSVhsv(143, 71%, 45%)
CMYKcmyk(71.3%, 0%, 44.3%, 54.9%)
CIE-LABlab(42.69, -36.80, 21.29)
CIE-LCHlch(42.69, 42.52, 149.96°)
OKLaboklab(49.35% -0.0992 0.0527)
OKLCHoklch(49.35% 0.112 152.1)
XYZxyz(7.6827, 12.9541, 6.9450)
Luminance0.1295 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217340 #732154
analogous
#2B7321 #217340 #217369
triadic
#217340 #402173 #734021
tetradic
#217340 #212B73 #732154 #736921
square
#217340 #212B73 #732154 #736921
split-complementary
#217340 #692173 #73212B
monochromatic
#07180D #134326 #217340 #2FA35A #45CA77

Accessibility & contrast

On white

5.85
#217340 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#217340 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217340
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217340#FFFFFF#000000##FFFFFF
##2173401.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73693C
Deuteranopia (green-blind)
#696243
Tritanopia (blue-blind)
#007166
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #217340;
/* rgb */ color: rgb(33, 115, 64);
/* oklch */ color: oklch(49.3% 0.112 152.1);
Tailwind
colors: {
  custom: {
    50: '#689c75',
    500: '#217340',
    950: '#000000',
  },
}
SCSS
$custom: #217340;
$custom-light: #689c75;
$custom-dark: #000000;
JSON
{
  "hex": "#217340",
  "rgb": {
    "r": 33,
    "g": 115,
    "b": 64
  },
  "hsl": {
    "h": 142.683,
    "s": 55.405,
    "l": 29.02
  },
  "oklch": {
    "l": 0.49346,
    "c": 0.11235,
    "h": 152.1
  },
  "luminance": 0.12955
}

Semantic roles & 50–950 ramp

primary
#217340
secondary
#A64983
accent
#49A6DF
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #217340

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

Preview Lab → · Contrast checker → · Palette generator →

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