#217839#217839

#217839 is a mid, vivid green. Relative luminance 0.141; OKLCH L 50.6% C 0.126 H 148.6°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#217839
RGBrgb(33, 120, 57)
HSLhsl(137, 57%, 30%)
HSVhsv(137, 73%, 47%)
CMYKcmyk(72.5%, 0%, 52.5%, 52.9%)
CIE-LABlab(44.31, -40.07, 27.21)
CIE-LCHlch(44.31, 48.44, 145.82°)
OKLaboklab(50.64% -0.1079 0.0659)
OKLCHoklch(50.64% 0.126 148.6)
XYZxyz(8.0816, 14.0508, 6.1563)
Luminance0.1405 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217839 #782160
analogous
#347821 #217839 #217865
triadic
#217839 #392178 #783921
tetradic
#217839 #213478 #782160 #786521
square
#217839 #213478 #782160 #786521
split-complementary
#217839 #652178 #782134
monochromatic
#07180B #144822 #217839 #2EA850 #47CC6C

Accessibility & contrast

On white

5.51
#217839 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#217839 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217839
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217839#FFFFFF#000000##FFFFFF
##2178391.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796D34
Deuteranopia (green-blind)
#6F663E
Tritanopia (blue-blind)
#007669
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #217839;
/* rgb */ color: rgb(33, 120, 57);
/* oklch */ color: oklch(50.6% 0.126 148.6);
Tailwind
colors: {
  custom: {
    50: '#69a071',
    500: '#217839',
    950: '#000000',
  },
}
SCSS
$custom: #217839;
$custom-light: #69a071;
$custom-dark: #000000;
JSON
{
  "hex": "#217839",
  "rgb": {
    "r": 33,
    "g": 120,
    "b": 57
  },
  "hsl": {
    "h": 136.552,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.5064,
    "c": 0.12646,
    "h": 148.6
  },
  "luminance": 0.14052
}

Semantic roles & 50–950 ramp

primary
#217839
secondary
#AB4A90
accent
#48B6E0
background
#F6F9F6
surface
#ECF2EC
border
#C7CCC7
text
#070F07
muted
#7A7E7A

Preview Lab

Preview with #217839

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

Preview Lab → · Contrast checker → · Palette generator →

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