#217847#217847

#217847 is a mid, moderate green. Relative luminance 0.142; OKLCH L 50.9% C 0.113 H 154.1°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#217847
RGBrgb(33, 120, 71)
HSLhsl(146, 57%, 30%)
HSVhsv(146, 73%, 47%)
CMYKcmyk(72.5%, 0%, 40.8%, 52.9%)
CIE-LABlab(44.53, -37.50, 19.72)
CIE-LCHlch(44.53, 42.36, 152.26°)
OKLaboklab(50.9% -0.1012 0.0492)
OKLCHoklch(50.9% 0.113 154.1)
XYZxyz(8.4802, 14.2103, 8.2559)
Luminance0.1421 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217847 #782152
analogous
#267821 #217847 #217873
triadic
#217847 #472178 #784721
tetradic
#217847 #212678 #782152 #787321
square
#217847 #212678 #782152 #787321
split-complementary
#217847 #732178 #782126
monochromatic
#07180E #14482B #217847 #2EA863 #47CC81

Accessibility & contrast

On white

5.47
#217847 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#217847 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217847
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217847#FFFFFF#000000##FFFFFF
##2178471.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786E44
Deuteranopia (green-blind)
#6D664A
Tritanopia (blue-blind)
#00776C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #217847;
/* rgb */ color: rgb(33, 120, 71);
/* oklch */ color: oklch(50.9% 0.113 154.1);
Tailwind
colors: {
  custom: {
    50: '#69a07a',
    500: '#217847',
    950: '#000000',
  },
}
SCSS
$custom: #217847;
$custom-light: #69a07a;
$custom-dark: #000000;
JSON
{
  "hex": "#217847",
  "rgb": {
    "r": 33,
    "g": 120,
    "b": 71
  },
  "hsl": {
    "h": 146.207,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.50902,
    "c": 0.11254,
    "h": 154.1
  },
  "luminance": 0.14211
}

Semantic roles & 50–950 ramp

primary
#217847
secondary
#AB4A81
accent
#489EE0
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070F09
muted
#7A7E7B

Preview Lab

Preview with #217847

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

Preview Lab → · Contrast checker → · Palette generator →

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