#217042#217042

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

Color values

HEX#217042
RGBrgb(33, 112, 66)
HSLhsl(145, 54%, 28%)
HSVhsv(145, 71%, 44%)
CMYKcmyk(70.5%, 0%, 41.1%, 56.1%)
CIE-LABlab(41.70, -35.15, 18.83)
CIE-LCHlch(41.70, 39.87, 151.82°)
OKLaboklab(48.54% -0.095 0.0469)
OKLCHoklch(48.54% 0.106 153.7)
XYZxyz(7.4041, 12.3042, 7.1379)
Luminance0.1231 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217042 #70214F
analogous
#277021 #217042 #217069
triadic
#217042 #422170 #704221
tetradic
#217042 #212770 #70214F #706921
square
#217042 #212770 #70214F #706921
split-complementary
#217042 #692170 #702127
monochromatic
#07180E #134126 #217042 #2F9F5E #44C87B

Accessibility & contrast

On white

6.07
#217042 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #217042
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217042#FFFFFF#000000##FFFFFF
##2170421.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70673F
Deuteranopia (green-blind)
#666045
Tritanopia (blue-blind)
#006F64
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #217042;
/* rgb */ color: rgb(33, 112, 66);
/* oklch */ color: oklch(48.5% 0.106 153.7);
Tailwind
colors: {
  custom: {
    50: '#679a77',
    500: '#217042',
    950: '#000000',
  },
}
SCSS
$custom: #217042;
$custom-light: #679a77;
$custom-dark: #000000;
JSON
{
  "hex": "#217042",
  "rgb": {
    "r": 33,
    "g": 112,
    "b": 66
  },
  "hsl": {
    "h": 145.063,
    "s": 54.483,
    "l": 28.431
  },
  "oklch": {
    "l": 0.48535,
    "c": 0.10592,
    "h": 153.7
  },
  "luminance": 0.12305
}

Semantic roles & 50–950 ramp

primary
#217042
secondary
#A4497E
accent
#4AA0DE
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #217042

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

Preview Lab → · Contrast checker → · Palette generator →

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