#217048#217048

#217048 is a mid, moderate green. Relative luminance 0.124; OKLCH L 48.7% C 0.100 H 157.0°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#217048
RGBrgb(33, 112, 72)
HSLhsl(150, 54%, 28%)
HSVhsv(150, 71%, 44%)
CMYKcmyk(70.5%, 0%, 35.7%, 56.1%)
CIE-LABlab(41.81, -33.87, 15.50)
CIE-LCHlch(41.81, 37.25, 155.42°)
OKLaboklab(48.67% -0.0919 0.039)
OKLCHoklch(48.67% 0.1 157)
XYZxyz(7.5904, 12.3787, 8.1189)
Luminance0.1238 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217048 #702149
analogous
#217021 #217048 #21706F
triadic
#217048 #482170 #704821
tetradic
#217048 #212170 #702149 #706F21
square
#217048 #212170 #702149 #706F21
split-complementary
#217048 #6F2170 #702121
monochromatic
#07180F #13412A #217048 #2F9F66 #44C885

Accessibility & contrast

On white

6.04
#217048 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#217048 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217048
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217048#FFFFFF#000000##FFFFFF
##2170481.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6745
Deuteranopia (green-blind)
#65604B
Tritanopia (blue-blind)
#006F66
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #217048;
/* rgb */ color: rgb(33, 112, 72);
/* oklch */ color: oklch(48.7% 0.100 157.0);
Tailwind
colors: {
  custom: {
    50: '#679a7b',
    500: '#217048',
    950: '#000000',
  },
}
SCSS
$custom: #217048;
$custom-light: #679a7b;
$custom-dark: #000000;
JSON
{
  "hex": "#217048",
  "rgb": {
    "r": 33,
    "g": 112,
    "b": 72
  },
  "hsl": {
    "h": 149.62,
    "s": 54.483,
    "l": 28.431
  },
  "oklch": {
    "l": 0.48669,
    "c": 0.09985,
    "h": 157
  },
  "luminance": 0.1238
}

Semantic roles & 50–950 ramp

primary
#217048
secondary
#A44977
accent
#4A95DE
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E09
muted
#7A7E7B

Preview Lab

Preview with #217048

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

Preview Lab → · Contrast checker → · Palette generator →

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