#217941#217941

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

Color values

HEX#217941
RGBrgb(33, 121, 65)
HSLhsl(142, 57%, 30%)
HSVhsv(142, 73%, 47%)
CMYKcmyk(72.7%, 0%, 46.3%, 52.5%)
CIE-LABlab(44.77, -39.07, 23.41)
CIE-LCHlch(44.77, 45.55, 149.07°)
OKLaboklab(51.06% -0.1052 0.0576)
OKLCHoklch(51.06% 0.12 151.3)
XYZxyz(8.4180, 14.3788, 7.3317)
Luminance0.1438 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217941 #792159
analogous
#2D7921 #217941 #21796D
triadic
#217941 #412179 #794121
tetradic
#217941 #212D79 #792159 #796D21
square
#217941 #212D79 #792159 #796D21
split-complementary
#217941 #6D2179 #79212D
monochromatic
#07190D #144927 #217941 #2EA95B #47CD78

Accessibility & contrast

On white

5.42
#217941 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #217941
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217941#FFFFFF#000000##FFFFFF
##2179411.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796E3D
Deuteranopia (green-blind)
#6F6745
Tritanopia (blue-blind)
#00776B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #217941;
/* rgb */ color: rgb(33, 121, 65);
/* oklch */ color: oklch(51.1% 0.120 151.3);
Tailwind
colors: {
  custom: {
    50: '#69a076',
    500: '#217941',
    950: '#000000',
  },
}
SCSS
$custom: #217941;
$custom-light: #69a076;
$custom-dark: #000000;
JSON
{
  "hex": "#217941",
  "rgb": {
    "r": 33,
    "g": 121,
    "b": 65
  },
  "hsl": {
    "h": 141.818,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.51064,
    "c": 0.11999,
    "h": 151.3
  },
  "luminance": 0.1438
}

Semantic roles & 50–950 ramp

primary
#217941
secondary
#AC4A88
accent
#47A9E0
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070F08
muted
#7A7E7B

Preview Lab

Preview with #217941

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

Preview Lab → · Contrast checker → · Palette generator →

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