#217948#217948

#217948 is a mid, moderate green. Relative luminance 0.145; OKLCH L 51.2% C 0.113 H 154.3°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#217948
RGBrgb(33, 121, 72)
HSLhsl(147, 57%, 30%)
HSVhsv(147, 73%, 47%)
CMYKcmyk(72.7%, 0%, 40.5%, 52.5%)
CIE-LABlab(44.89, -37.71, 19.62)
CIE-LCHlch(44.89, 42.51, 152.51°)
OKLaboklab(51.2% -0.1018 0.049)
OKLCHoklch(51.2% 0.113 154.3)
XYZxyz(8.6335, 14.4650, 8.4667)
Luminance0.1447 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217948 #792152
analogous
#267921 #217948 #217974
triadic
#217948 #482179 #794821
tetradic
#217948 #212679 #792152 #797421
square
#217948 #212679 #792152 #797421
split-complementary
#217948 #742179 #792126
monochromatic
#07190F #14492B #217948 #2EA965 #47CD83

Accessibility & contrast

On white

5.39
#217948 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#217948 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217948
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217948#FFFFFF#000000##FFFFFF
##2179481.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796F45
Deuteranopia (green-blind)
#6E674B
Tritanopia (blue-blind)
#00786D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #217948;
/* rgb */ color: rgb(33, 121, 72);
/* oklch */ color: oklch(51.2% 0.113 154.3);
Tailwind
colors: {
  custom: {
    50: '#69a07b',
    500: '#217948',
    950: '#000000',
  },
}
SCSS
$custom: #217948;
$custom-light: #69a07b;
$custom-dark: #000000;
JSON
{
  "hex": "#217948",
  "rgb": {
    "r": 33,
    "g": 121,
    "b": 72
  },
  "hsl": {
    "h": 146.591,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.51204,
    "c": 0.11298,
    "h": 154.3
  },
  "luminance": 0.14466
}

Semantic roles & 50–950 ramp

primary
#217948
secondary
#AC4A80
accent
#479DE0
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070F09
muted
#7A7E7B

Preview Lab

Preview with #217948

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

Preview Lab → · Contrast checker → · Palette generator →

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