#217838#217838

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

Color values

HEX#217838
RGBrgb(33, 120, 56)
HSLhsl(136, 57%, 30%)
HSVhsv(136, 73%, 47%)
CMYKcmyk(72.5%, 0%, 53.3%, 52.9%)
CIE-LABlab(44.29, -40.24, 27.73)
CIE-LCHlch(44.29, 48.87, 145.42°)
OKLaboklab(50.62% -0.1084 0.067)
OKLCHoklch(50.62% 0.127 148.3)
XYZxyz(8.0569, 14.0409, 6.0262)
Luminance0.1404 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217838 #782161
analogous
#357821 #217838 #217864
triadic
#217838 #382178 #783821
tetradic
#217838 #213578 #782161 #786421
square
#217838 #213578 #782161 #786421
split-complementary
#217838 #642178 #782135
monochromatic
#07180B #144822 #217838 #2EA84E #47CC6A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##217838#FFFFFF#000000##FFFFFF
##2178381.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)
#796D33
Deuteranopia (green-blind)
#6F663D
Tritanopia (blue-blind)
#007569
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #217838;
/* rgb */ color: rgb(33, 120, 56);
/* oklch */ color: oklch(50.6% 0.127 148.3);
Tailwind
colors: {
  custom: {
    50: '#69a070',
    500: '#217838',
    950: '#000000',
  },
}
SCSS
$custom: #217838;
$custom-light: #69a070;
$custom-dark: #000000;
JSON
{
  "hex": "#217838",
  "rgb": {
    "r": 33,
    "g": 120,
    "b": 56
  },
  "hsl": {
    "h": 135.862,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.50624,
    "c": 0.12742,
    "h": 148.3
  },
  "luminance": 0.14042
}

Semantic roles & 50–950 ramp

primary
#217838
secondary
#AB4A91
accent
#48B8E0
background
#F6F9F6
surface
#ECF2EC
border
#C7CCC7
text
#070F07
muted
#7A7E7A

Preview Lab

Preview with #217838

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

Preview Lab → · Contrast checker → · Palette generator →

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