#217946#217946

#217946 is a mid, moderate green. Relative luminance 0.144; OKLCH L 51.2% C 0.115 H 153.4°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#217946
RGBrgb(33, 121, 70)
HSLhsl(145, 57%, 30%)
HSVhsv(145, 73%, 47%)
CMYKcmyk(72.7%, 0%, 42.1%, 52.5%)
CIE-LABlab(44.86, -38.11, 20.71)
CIE-LCHlch(44.86, 43.37, 151.48°)
OKLaboklab(51.16% -0.1028 0.0515)
OKLCHoklch(51.16% 0.115 153.4)
XYZxyz(8.5693, 14.4393, 8.1286)
Luminance0.1444 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217946 #792154
analogous
#287921 #217946 #217972
triadic
#217946 #462179 #794621
tetradic
#217946 #212879 #792154 #797221
square
#217946 #212879 #792154 #797221
split-complementary
#217946 #722179 #792128
monochromatic
#07190E #14492A #217946 #2EA962 #47CD80

Accessibility & contrast

On white

5.40
#217946 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #217946
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217946#FFFFFF#000000##FFFFFF
##2179461.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796F42
Deuteranopia (green-blind)
#6E6749
Tritanopia (blue-blind)
#00776C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #217946;
/* rgb */ color: rgb(33, 121, 70);
/* oklch */ color: oklch(51.2% 0.115 153.4);
Tailwind
colors: {
  custom: {
    50: '#69a07a',
    500: '#217946',
    950: '#000000',
  },
}
SCSS
$custom: #217946;
$custom-light: #69a07a;
$custom-dark: #000000;
JSON
{
  "hex": "#217946",
  "rgb": {
    "r": 33,
    "g": 121,
    "b": 70
  },
  "hsl": {
    "h": 145.227,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.51162,
    "c": 0.11497,
    "h": 153.4
  },
  "luminance": 0.1444
}

Semantic roles & 50–950 ramp

primary
#217946
secondary
#AC4A83
accent
#47A0E0
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070F09
muted
#7A7E7B

Preview Lab

Preview with #217946

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

Preview Lab → · Contrast checker → · Palette generator →

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