#217845#217845

#217845 is a mid, moderate green. Relative luminance 0.142; OKLCH L 50.9% C 0.115 H 153.2°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#217845
RGBrgb(33, 120, 69)
HSLhsl(145, 57%, 30%)
HSVhsv(145, 73%, 47%)
CMYKcmyk(72.5%, 0%, 42.5%, 52.9%)
CIE-LABlab(44.50, -37.90, 20.81)
CIE-LCHlch(44.50, 43.23, 151.23°)
OKLaboklab(50.86% -0.1022 0.0517)
OKLCHoklch(50.86% 0.115 153.2)
XYZxyz(8.4171, 14.1850, 7.9235)
Luminance0.1419 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217845 #782154
analogous
#287821 #217845 #217871
triadic
#217845 #452178 #784521
tetradic
#217845 #212878 #782154 #787121
square
#217845 #212878 #782154 #787121
split-complementary
#217845 #712178 #782128
monochromatic
#07180E #144829 #217845 #2EA861 #47CC7E

Accessibility & contrast

On white

5.47
#217845 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#217845 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217845
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217845#FFFFFF#000000##FFFFFF
##2178451.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786E41
Deuteranopia (green-blind)
#6D6648
Tritanopia (blue-blind)
#00766B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #217845;
/* rgb */ color: rgb(33, 120, 69);
/* oklch */ color: oklch(50.9% 0.115 153.2);
Tailwind
colors: {
  custom: {
    50: '#69a079',
    500: '#217845',
    950: '#000000',
  },
}
SCSS
$custom: #217845;
$custom-light: #69a079;
$custom-dark: #000000;
JSON
{
  "hex": "#217845",
  "rgb": {
    "r": 33,
    "g": 120,
    "b": 69
  },
  "hsl": {
    "h": 144.828,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.5086,
    "c": 0.11455,
    "h": 153.2
  },
  "luminance": 0.14186
}

Semantic roles & 50–950 ramp

primary
#217845
secondary
#AB4A83
accent
#48A1E0
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070F09
muted
#7A7E7B

Preview Lab

Preview with #217845

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

Preview Lab → · Contrast checker → · Palette generator →

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