#217342#217342

#217342 is a mid, moderate green. Relative luminance 0.130; OKLCH L 49.4% C 0.110 H 153.0°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#217342
RGBrgb(33, 115, 66)
HSLhsl(144, 55%, 29%)
HSVhsv(144, 71%, 45%)
CMYKcmyk(71.3%, 0%, 42.6%, 54.9%)
CIE-LABlab(42.73, -36.41, 20.19)
CIE-LCHlch(42.73, 41.64, 150.99°)
OKLaboklab(49.39% -0.0983 0.0502)
OKLCHoklch(49.39% 0.11 153)
XYZxyz(7.7406, 12.9773, 7.2501)
Luminance0.1298 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217342 #732152
analogous
#297321 #217342 #21736B
triadic
#217342 #422173 #734221
tetradic
#217342 #212973 #732152 #736B21
square
#217342 #212973 #732152 #736B21
split-complementary
#217342 #6B2173 #732129
monochromatic
#07180E #134327 #217342 #2FA35D #45CA7A

Accessibility & contrast

On white

5.84
#217342 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#217342 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217342
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217342#FFFFFF#000000##FFFFFF
##2173421.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73693F
Deuteranopia (green-blind)
#696245
Tritanopia (blue-blind)
#007167
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #217342;
/* rgb */ color: rgb(33, 115, 66);
/* oklch */ color: oklch(49.4% 0.110 153.0);
Tailwind
colors: {
  custom: {
    50: '#689c77',
    500: '#217342',
    950: '#000000',
  },
}
SCSS
$custom: #217342;
$custom-light: #689c77;
$custom-dark: #000000;
JSON
{
  "hex": "#217342",
  "rgb": {
    "r": 33,
    "g": 115,
    "b": 66
  },
  "hsl": {
    "h": 144.146,
    "s": 55.405,
    "l": 29.02
  },
  "oklch": {
    "l": 0.49386,
    "c": 0.11033,
    "h": 153
  },
  "luminance": 0.12978
}

Semantic roles & 50–950 ramp

primary
#217342
secondary
#A64981
accent
#49A3DF
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #217342

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

Preview Lab → · Contrast checker → · Palette generator →

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