#217947#217947

#217947 is a mid, moderate green. Relative luminance 0.145; OKLCH L 51.2% C 0.114 H 153.9°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#217947
RGBrgb(33, 121, 71)
HSLhsl(146, 57%, 30%)
HSVhsv(146, 73%, 47%)
CMYKcmyk(72.7%, 0%, 41.3%, 52.5%)
CIE-LABlab(44.87, -37.91, 20.17)
CIE-LCHlch(44.87, 42.94, 151.99°)
OKLaboklab(51.18% -0.1023 0.0502)
OKLCHoklch(51.18% 0.114 153.9)
XYZxyz(8.6011, 14.4520, 8.2962)
Luminance0.1445 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217947 #792153
analogous
#277921 #217947 #217973
triadic
#217947 #472179 #794721
tetradic
#217947 #212779 #792153 #797321
square
#217947 #212779 #792153 #797321
split-complementary
#217947 #732179 #792127
monochromatic
#07190F #14492B #217947 #2EA963 #47CD81

Accessibility & contrast

On white

5.40
#217947 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#217947 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217947
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217947#FFFFFF#000000##FFFFFF
##2179471.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #217947;
/* rgb */ color: rgb(33, 121, 71);
/* oklch */ color: oklch(51.2% 0.114 153.9);
Tailwind
colors: {
  custom: {
    50: '#69a07a',
    500: '#217947',
    950: '#000000',
  },
}
SCSS
$custom: #217947;
$custom-light: #69a07a;
$custom-dark: #000000;
JSON
{
  "hex": "#217947",
  "rgb": {
    "r": 33,
    "g": 121,
    "b": 71
  },
  "hsl": {
    "h": 145.909,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.51183,
    "c": 0.11398,
    "h": 153.9
  },
  "luminance": 0.14453
}

Semantic roles & 50–950 ramp

primary
#217947
secondary
#AC4A82
accent
#479EE0
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070F09
muted
#7A7E7B

Preview Lab

Preview with #217947

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

Preview Lab → · Contrast checker → · Palette generator →

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