#217040#217040

#217040 is a mid, moderate green. Relative luminance 0.123; OKLCH L 48.5% C 0.108 H 152.7°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#217040
RGBrgb(33, 112, 64)
HSLhsl(144, 54%, 28%)
HSVhsv(144, 71%, 44%)
CMYKcmyk(70.5%, 0%, 42.9%, 56.1%)
CIE-LABlab(41.66, -35.55, 19.94)
CIE-LCHlch(41.66, 40.76, 150.72°)
OKLaboklab(48.49% -0.0959 0.0495)
OKLCHoklch(48.49% 0.108 152.7)
XYZxyz(7.3462, 12.2810, 6.8328)
Luminance0.1228 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217040 #702151
analogous
#297021 #217040 #217067
triadic
#217040 #402170 #704021
tetradic
#217040 #212970 #702151 #706721
square
#217040 #212970 #702151 #706721
split-complementary
#217040 #672170 #702129
monochromatic
#07180E #134125 #217040 #2F9F5B #44C877

Accessibility & contrast

On white

6.08
#217040 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#217040 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217040
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217040#FFFFFF#000000##FFFFFF
##2170401.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70663D
Deuteranopia (green-blind)
#665F43
Tritanopia (blue-blind)
#006E64
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #217040;
/* rgb */ color: rgb(33, 112, 64);
/* oklch */ color: oklch(48.5% 0.108 152.7);
Tailwind
colors: {
  custom: {
    50: '#679a75',
    500: '#217040',
    950: '#000000',
  },
}
SCSS
$custom: #217040;
$custom-light: #679a75;
$custom-dark: #000000;
JSON
{
  "hex": "#217040",
  "rgb": {
    "r": 33,
    "g": 112,
    "b": 64
  },
  "hsl": {
    "h": 143.544,
    "s": 54.483,
    "l": 28.431
  },
  "oklch": {
    "l": 0.48493,
    "c": 0.10796,
    "h": 152.7
  },
  "luminance": 0.12282
}

Semantic roles & 50–950 ramp

primary
#217040
secondary
#A44980
accent
#4AA4DE
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #217040

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

Preview Lab → · Contrast checker → · Palette generator →

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