#217147#217147

#217147 is a mid, moderate green. Relative luminance 0.126; OKLCH L 48.9% C 0.102 H 156.1°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#217147
RGBrgb(33, 113, 71)
HSLhsl(149, 55%, 29%)
HSVhsv(149, 71%, 44%)
CMYKcmyk(70.8%, 0%, 37.2%, 55.7%)
CIE-LABlab(42.14, -34.53, 16.52)
CIE-LCHlch(42.14, 38.27, 154.43°)
OKLaboklab(48.93% -0.0935 0.0415)
OKLCHoklch(48.93% 0.102 156.1)
XYZxyz(7.6690, 12.5877, 7.9855)
Luminance0.1259 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217147 #71214B
analogous
#237121 #217147 #21716F
triadic
#217147 #472171 #714721
tetradic
#217147 #212371 #71214B #716F21
square
#217147 #212371 #71214B #716F21
split-complementary
#217147 #6F2171 #712123
monochromatic
#07180F #134229 #217147 #2FA065 #44C883

Accessibility & contrast

On white

5.97
#217147 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#217147 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217147
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217147#FFFFFF#000000##FFFFFF
##2171471.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706844
Deuteranopia (green-blind)
#66614A
Tritanopia (blue-blind)
#007066
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #217147;
/* rgb */ color: rgb(33, 113, 71);
/* oklch */ color: oklch(48.9% 0.102 156.1);
Tailwind
colors: {
  custom: {
    50: '#679a7a',
    500: '#217147',
    950: '#000000',
  },
}
SCSS
$custom: #217147;
$custom-light: #679a7a;
$custom-dark: #000000;
JSON
{
  "hex": "#217147",
  "rgb": {
    "r": 33,
    "g": 113,
    "b": 71
  },
  "hsl": {
    "h": 148.5,
    "s": 54.795,
    "l": 28.627
  },
  "oklch": {
    "l": 0.48928,
    "c": 0.10232,
    "h": 156.1
  },
  "luminance": 0.12589
}

Semantic roles & 50–950 ramp

primary
#217147
secondary
#A54979
accent
#4A98DE
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E09
muted
#7A7E7B

Preview Lab

Preview with #217147

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

Preview Lab → · Contrast checker → · Palette generator →

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