#217039#217039

#217039 is a mid, moderate green. Relative luminance 0.122; OKLCH L 48.4% C 0.115 H 149.7°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#217039
RGBrgb(33, 112, 57)
HSLhsl(138, 54%, 28%)
HSVhsv(138, 71%, 44%)
CMYKcmyk(70.5%, 0%, 49.1%, 56.1%)
CIE-LABlab(41.54, -36.87, 23.75)
CIE-LCHlch(41.54, 43.85, 147.21°)
OKLaboklab(48.36% -0.0994 0.0581)
OKLCHoklch(48.36% 0.115 149.7)
XYZxyz(7.1593, 12.2063, 5.8489)
Luminance0.1221 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217039 #702158
analogous
#307021 #217039 #217060
triadic
#217039 #392170 #703921
tetradic
#217039 #213070 #702158 #706021
square
#217039 #213070 #702158 #706021
split-complementary
#217039 #602170 #702130
monochromatic
#07180C #134121 #217039 #2F9F51 #44C86C

Accessibility & contrast

On white

6.10
#217039 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#217039 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217039
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217039#FFFFFF#000000##FFFFFF
##2170391.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716635
Deuteranopia (green-blind)
#675F3D
Tritanopia (blue-blind)
#006E63
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #217039;
/* rgb */ color: rgb(33, 112, 57);
/* oklch */ color: oklch(48.4% 0.115 149.7);
Tailwind
colors: {
  custom: {
    50: '#679a70',
    500: '#217039',
    950: '#000000',
  },
}
SCSS
$custom: #217039;
$custom-light: #679a70;
$custom-dark: #000000;
JSON
{
  "hex": "#217039",
  "rgb": {
    "r": 33,
    "g": 112,
    "b": 57
  },
  "hsl": {
    "h": 138.228,
    "s": 54.483,
    "l": 28.431
  },
  "oklch": {
    "l": 0.48358,
    "c": 0.11508,
    "h": 149.7
  },
  "luminance": 0.12207
}

Semantic roles & 50–950 ramp

primary
#217039
secondary
#A44988
accent
#4AB1DE
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #217039

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

Preview Lab → · Contrast checker → · Palette generator →

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