#217843#217843

#217843 is a mid, moderate green. Relative luminance 0.142; OKLCH L 50.8% C 0.117 H 152.3°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#217843
RGBrgb(33, 120, 67)
HSLhsl(143, 57%, 30%)
HSVhsv(143, 73%, 47%)
CMYKcmyk(72.5%, 0%, 44.2%, 52.9%)
CIE-LABlab(44.46, -38.29, 21.89)
CIE-LCHlch(44.46, 44.10, 150.24°)
OKLaboklab(50.82% -0.1032 0.0542)
OKLCHoklch(50.82% 0.117 152.3)
XYZxyz(8.3561, 14.1606, 7.6020)
Luminance0.1416 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217843 #782156
analogous
#2B7821 #217843 #21786E
triadic
#217843 #432178 #784321
tetradic
#217843 #212B78 #782156 #786E21
square
#217843 #212B78 #782156 #786E21
split-complementary
#217843 #6E2178 #78212B
monochromatic
#07180D #144828 #217843 #2EA85E #47CC7B

Accessibility & contrast

On white

5.48
#217843 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#217843 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217843
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217843#FFFFFF#000000##FFFFFF
##2178431.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786E3F
Deuteranopia (green-blind)
#6E6647
Tritanopia (blue-blind)
#00766B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #217843;
/* rgb */ color: rgb(33, 120, 67);
/* oklch */ color: oklch(50.8% 0.117 152.3);
Tailwind
colors: {
  custom: {
    50: '#69a078',
    500: '#217843',
    950: '#000000',
  },
}
SCSS
$custom: #217843;
$custom-light: #69a078;
$custom-dark: #000000;
JSON
{
  "hex": "#217843",
  "rgb": {
    "r": 33,
    "g": 120,
    "b": 67
  },
  "hsl": {
    "h": 143.448,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.5082,
    "c": 0.11655,
    "h": 152.3
  },
  "luminance": 0.14162
}

Semantic roles & 50–950 ramp

primary
#217843
secondary
#AB4A85
accent
#48A5E0
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070F09
muted
#7A7E7B

Preview Lab

Preview with #217843

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

Preview Lab → · Contrast checker → · Palette generator →

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