#217148#217148

#217148 is a mid, moderate green. Relative luminance 0.126; OKLCH L 49.0% C 0.101 H 156.6°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#217148
RGBrgb(33, 113, 72)
HSLhsl(149, 55%, 29%)
HSVhsv(149, 71%, 44%)
CMYKcmyk(70.8%, 0%, 36.3%, 55.7%)
CIE-LABlab(42.16, -34.31, 15.96)
CIE-LCHlch(42.16, 37.84, 155.05°)
OKLaboklab(48.95% -0.093 0.0402)
OKLCHoklch(48.95% 0.101 156.6)
XYZxyz(7.7013, 12.6006, 8.1559)
Luminance0.1260 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217148 #71214A
analogous
#227121 #217148 #217170
triadic
#217148 #482171 #714821
tetradic
#217148 #212271 #71214A #717021
square
#217148 #212271 #71214A #717021
split-complementary
#217148 #702171 #712122
monochromatic
#07180F #13422A #217148 #2FA066 #44C885

Accessibility & contrast

On white

5.97
#217148 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#217148 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217148
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217148#FFFFFF#000000##FFFFFF
##2171481.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706845
Deuteranopia (green-blind)
#66614B
Tritanopia (blue-blind)
#007066
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #217148;
/* rgb */ color: rgb(33, 113, 72);
/* oklch */ color: oklch(49.0% 0.101 156.6);
Tailwind
colors: {
  custom: {
    50: '#679a7b',
    500: '#217148',
    950: '#000000',
  },
}
SCSS
$custom: #217148;
$custom-light: #679a7b;
$custom-dark: #000000;
JSON
{
  "hex": "#217148",
  "rgb": {
    "r": 33,
    "g": 113,
    "b": 72
  },
  "hsl": {
    "h": 149.25,
    "s": 54.795,
    "l": 28.627
  },
  "oklch": {
    "l": 0.48951,
    "c": 0.10132,
    "h": 156.6
  },
  "luminance": 0.12601
}

Semantic roles & 50–950 ramp

primary
#217148
secondary
#A54978
accent
#4A96DE
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#070E09
muted
#7A7E7B

Preview Lab

Preview with #217148

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

Preview Lab → · Contrast checker → · Palette generator →

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