#217848#217848

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

Color values

HEX#217848
RGBrgb(33, 120, 72)
HSLhsl(147, 57%, 30%)
HSVhsv(147, 73%, 47%)
CMYKcmyk(72.5%, 0%, 40%, 52.9%)
CIE-LABlab(44.55, -37.29, 19.17)
CIE-LCHlch(44.55, 41.93, 152.79°)
OKLaboklab(50.92% -0.1007 0.0479)
OKLCHoklch(50.92% 0.112 154.6)
XYZxyz(8.5126, 14.2232, 8.4264)
Luminance0.1422 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217848 #782151
analogous
#257821 #217848 #217874
triadic
#217848 #482178 #784821
tetradic
#217848 #212578 #782151 #787421
square
#217848 #212578 #782151 #787421
split-complementary
#217848 #742178 #782125
monochromatic
#07180E #14482B #217848 #2EA865 #47CC83

Accessibility & contrast

On white

5.46
#217848 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #217848
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217848#FFFFFF#000000##FFFFFF
##2178481.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #217848;
/* rgb */ color: rgb(33, 120, 72);
/* oklch */ color: oklch(50.9% 0.112 154.6);
Tailwind
colors: {
  custom: {
    50: '#69a07b',
    500: '#217848',
    950: '#000000',
  },
}
SCSS
$custom: #217848;
$custom-light: #69a07b;
$custom-dark: #000000;
JSON
{
  "hex": "#217848",
  "rgb": {
    "r": 33,
    "g": 120,
    "b": 72
  },
  "hsl": {
    "h": 146.897,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.50923,
    "c": 0.11154,
    "h": 154.6
  },
  "luminance": 0.14224
}

Semantic roles & 50–950 ramp

primary
#217848
secondary
#AB4A7F
accent
#489CE0
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#070F09
muted
#7A7E7B

Preview Lab

Preview with #217848

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

Preview Lab → · Contrast checker → · Palette generator →

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