#217942#217942

#217942 is a mid, moderate green. Relative luminance 0.144; OKLCH L 51.1% C 0.119 H 151.7°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#217942
RGBrgb(33, 121, 66)
HSLhsl(143, 57%, 30%)
HSVhsv(143, 73%, 47%)
CMYKcmyk(72.7%, 0%, 45.5%, 52.5%)
CIE-LABlab(44.79, -38.88, 22.87)
CIE-LCHlch(44.79, 45.11, 149.53°)
OKLaboklab(51.08% -0.1048 0.0564)
OKLCHoklch(51.08% 0.119 151.7)
XYZxyz(8.4472, 14.3905, 7.4857)
Luminance0.1439 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217942 #792158
analogous
#2C7921 #217942 #21796E
triadic
#217942 #422179 #794221
tetradic
#217942 #212C79 #792158 #796E21
square
#217942 #212C79 #792158 #796E21
split-complementary
#217942 #6E2179 #79212C
monochromatic
#07190E #144928 #217942 #2EA95C #47CD7A

Accessibility & contrast

On white

5.41
#217942 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#217942 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217942
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217942#FFFFFF#000000##FFFFFF
##2179421.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796F3E
Deuteranopia (green-blind)
#6F6746
Tritanopia (blue-blind)
#00776C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #217942;
/* rgb */ color: rgb(33, 121, 66);
/* oklch */ color: oklch(51.1% 0.119 151.7);
Tailwind
colors: {
  custom: {
    50: '#69a077',
    500: '#217942',
    950: '#000000',
  },
}
SCSS
$custom: #217942;
$custom-light: #69a077;
$custom-dark: #000000;
JSON
{
  "hex": "#217942",
  "rgb": {
    "r": 33,
    "g": 121,
    "b": 66
  },
  "hsl": {
    "h": 142.5,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.51083,
    "c": 0.11898,
    "h": 151.7
  },
  "luminance": 0.14391
}

Semantic roles & 50–950 ramp

primary
#217942
secondary
#AC4A87
accent
#47A7E0
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070F08
muted
#7A7E7B

Preview Lab

Preview with #217942

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

Preview Lab → · Contrast checker → · Palette generator →

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