#217140#217140

#217140 is a mid, moderate green. Relative luminance 0.125; OKLCH L 48.8% C 0.109 H 152.5°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#217140
RGBrgb(33, 113, 64)
HSLhsl(143, 55%, 29%)
HSVhsv(143, 71%, 44%)
CMYKcmyk(70.8%, 0%, 43.4%, 55.7%)
CIE-LABlab(42.00, -35.97, 20.39)
CIE-LCHlch(42.00, 41.35, 150.46°)
OKLaboklab(48.78% -0.0971 0.0506)
OKLCHoklch(48.78% 0.109 152.5)
XYZxyz(7.4571, 12.5029, 6.8698)
Luminance0.1250 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217140 #712152
analogous
#2A7121 #217140 #217168
triadic
#217140 #402171 #714021
tetradic
#217140 #212A71 #712152 #716821
square
#217140 #212A71 #712152 #716821
split-complementary
#217140 #682171 #71212A
monochromatic
#07180D #134225 #217140 #2FA05B #44C877

Accessibility & contrast

On white

6.00
#217140 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#217140 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217140
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217140#FFFFFF#000000##FFFFFF
##2171401.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71673D
Deuteranopia (green-blind)
#676043
Tritanopia (blue-blind)
#006F65
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #217140;
/* rgb */ color: rgb(33, 113, 64);
/* oklch */ color: oklch(48.8% 0.109 152.5);
Tailwind
colors: {
  custom: {
    50: '#679a75',
    500: '#217140',
    950: '#000000',
  },
}
SCSS
$custom: #217140;
$custom-light: #679a75;
$custom-dark: #000000;
JSON
{
  "hex": "#217140",
  "rgb": {
    "r": 33,
    "g": 113,
    "b": 64
  },
  "hsl": {
    "h": 143.25,
    "s": 54.795,
    "l": 28.627
  },
  "oklch": {
    "l": 0.48777,
    "c": 0.10943,
    "h": 152.5
  },
  "luminance": 0.12504
}

Semantic roles & 50–950 ramp

primary
#217140
secondary
#A54981
accent
#4AA5DE
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #217140

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

Preview Lab → · Contrast checker → · Palette generator →

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