#217142#217142

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

Color values

HEX#217142
RGBrgb(33, 113, 66)
HSLhsl(145, 55%, 29%)
HSVhsv(145, 71%, 44%)
CMYKcmyk(70.8%, 0%, 41.6%, 55.7%)
CIE-LABlab(42.04, -35.57, 19.29)
CIE-LCHlch(42.04, 40.46, 151.53°)
OKLaboklab(48.82% -0.0961 0.048)
OKLCHoklch(48.82% 0.107 153.4)
XYZxyz(7.5150, 12.5261, 7.1749)
Luminance0.1253 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217142 #712150
analogous
#287121 #217142 #21716A
triadic
#217142 #422171 #714221
tetradic
#217142 #212871 #712150 #716A21
square
#217142 #212871 #712150 #716A21
split-complementary
#217142 #6A2171 #712128
monochromatic
#07180E #134226 #217142 #2FA05E #44C87B

Accessibility & contrast

On white

5.99
#217142 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#217142 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217142
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217142#FFFFFF#000000##FFFFFF
##2171421.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71673F
Deuteranopia (green-blind)
#676045
Tritanopia (blue-blind)
#007065
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #217142;
/* rgb */ color: rgb(33, 113, 66);
/* oklch */ color: oklch(48.8% 0.107 153.4);
Tailwind
colors: {
  custom: {
    50: '#679a77',
    500: '#217142',
    950: '#000000',
  },
}
SCSS
$custom: #217142;
$custom-light: #679a77;
$custom-dark: #000000;
JSON
{
  "hex": "#217142",
  "rgb": {
    "r": 33,
    "g": 113,
    "b": 66
  },
  "hsl": {
    "h": 144.75,
    "s": 54.795,
    "l": 28.627
  },
  "oklch": {
    "l": 0.48819,
    "c": 0.10739,
    "h": 153.4
  },
  "luminance": 0.12527
}

Semantic roles & 50–950 ramp

primary
#217142
secondary
#A5497F
accent
#4AA1DE
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #217142

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

Preview Lab → · Contrast checker → · Palette generator →

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