#217931#217931

#217931 is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.8% C 0.135 H 146.2°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#217931
RGBrgb(33, 121, 49)
HSLhsl(131, 57%, 30%)
HSVhsv(131, 73%, 47%)
CMYKcmyk(72.7%, 0%, 59.5%, 52.5%)
CIE-LABlab(44.55, -41.68, 31.70)
CIE-LCHlch(44.55, 52.37, 142.75°)
OKLaboklab(50.8% -0.1124 0.0753)
OKLCHoklch(50.8% 0.135 146.2)
XYZxyz(8.0184, 14.2189, 5.2271)
Luminance0.1422 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217931 #792169
analogous
#3D7921 #217931 #21795D
triadic
#217931 #312179 #793121
tetradic
#217931 #213D79 #792169 #795D21
square
#217931 #213D79 #792169 #795D21
split-complementary
#217931 #5D2179 #79213D
monochromatic
#07190A #14491E #217931 #2EA944 #47CD60

Accessibility & contrast

On white

5.46
#217931 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #217931
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217931#FFFFFF#000000##FFFFFF
##2179311.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6E2A
Deuteranopia (green-blind)
#706737
Tritanopia (blue-blind)
#007669
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #217931;
/* rgb */ color: rgb(33, 121, 49);
/* oklch */ color: oklch(50.8% 0.135 146.2);
Tailwind
colors: {
  custom: {
    50: '#6aa16b',
    500: '#217931',
    950: '#000000',
  },
}
SCSS
$custom: #217931;
$custom-light: #6aa16b;
$custom-dark: #000000;
JSON
{
  "hex": "#217931",
  "rgb": {
    "r": 33,
    "g": 121,
    "b": 49
  },
  "hsl": {
    "h": 130.909,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.50804,
    "c": 0.13531,
    "h": 146.2
  },
  "luminance": 0.1422
}

Semantic roles & 50–950 ramp

primary
#217931
secondary
#AC4A9A
accent
#47C5E0
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #217931

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

Preview Lab → · Contrast checker → · Palette generator →

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