#217240#217240

#217240 is a mid, moderate green. Relative luminance 0.127; OKLCH L 49.1% C 0.111 H 152.3°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#217240
RGBrgb(33, 114, 64)
HSLhsl(143, 55%, 29%)
HSVhsv(143, 71%, 45%)
CMYKcmyk(71.1%, 0%, 43.9%, 55.3%)
CIE-LABlab(42.35, -36.39, 20.84)
CIE-LCHlch(42.35, 41.93, 150.20°)
OKLaboklab(49.06% -0.0982 0.0516)
OKLCHoklch(49.06% 0.111 152.3)
XYZxyz(7.5693, 12.7273, 6.9072)
Luminance0.1273 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217240 #722153
analogous
#2B7221 #217240 #217269
triadic
#217240 #402172 #724021
tetradic
#217240 #212B72 #722153 #726921
square
#217240 #212B72 #722153 #726921
split-complementary
#217240 #692172 #72212B
monochromatic
#07180D #134325 #217240 #2FA15B #44C977

Accessibility & contrast

On white

5.92
#217240 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#217240 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217240
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217240#FFFFFF#000000##FFFFFF
##2172401.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72683C
Deuteranopia (green-blind)
#686143
Tritanopia (blue-blind)
#007066
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #217240;
/* rgb */ color: rgb(33, 114, 64);
/* oklch */ color: oklch(49.1% 0.111 152.3);
Tailwind
colors: {
  custom: {
    50: '#689b75',
    500: '#217240',
    950: '#000000',
  },
}
SCSS
$custom: #217240;
$custom-light: #689b75;
$custom-dark: #000000;
JSON
{
  "hex": "#217240",
  "rgb": {
    "r": 33,
    "g": 114,
    "b": 64
  },
  "hsl": {
    "h": 142.963,
    "s": 55.102,
    "l": 28.824
  },
  "oklch": {
    "l": 0.49062,
    "c": 0.1109,
    "h": 152.3
  },
  "luminance": 0.12728
}

Semantic roles & 50–950 ramp

primary
#217240
secondary
#A54982
accent
#49A5DE
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #217240

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

Preview Lab → · Contrast checker → · Palette generator →

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