#217831#217831

#217831 is a mid, vivid green. Relative luminance 0.140; OKLCH L 50.5% C 0.134 H 146.3°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#217831
RGBrgb(33, 120, 49)
HSLhsl(131, 57%, 30%)
HSVhsv(131, 73%, 47%)
CMYKcmyk(72.5%, 0%, 59.2%, 52.9%)
CIE-LABlab(44.20, -41.30, 31.29)
CIE-LCHlch(44.20, 51.82, 142.85°)
OKLaboklab(50.52% -0.1114 0.0744)
OKLCHoklch(50.52% 0.134 146.3)
XYZxyz(7.8975, 13.9772, 5.1868)
Luminance0.1398 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217831 #782168
analogous
#3D7821 #217831 #21785C
triadic
#217831 #312178 #783121
tetradic
#217831 #213D78 #782168 #785C21
square
#217831 #213D78 #782168 #785C21
split-complementary
#217831 #5C2178 #78213D
monochromatic
#07180A #14481D #217831 #2EA845 #47CC60

Accessibility & contrast

On white

5.53
#217831 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#217831 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217831
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217831#FFFFFF#000000##FFFFFF
##2178311.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6D2A
Deuteranopia (green-blind)
#6F6637
Tritanopia (blue-blind)
#007568
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #217831;
/* rgb */ color: rgb(33, 120, 49);
/* oklch */ color: oklch(50.5% 0.134 146.3);
Tailwind
colors: {
  custom: {
    50: '#6aa06b',
    500: '#217831',
    950: '#000000',
  },
}
SCSS
$custom: #217831;
$custom-light: #6aa06b;
$custom-dark: #000000;
JSON
{
  "hex": "#217831",
  "rgb": {
    "r": 33,
    "g": 120,
    "b": 49
  },
  "hsl": {
    "h": 131.034,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.50518,
    "c": 0.13397,
    "h": 146.3
  },
  "luminance": 0.13978
}

Semantic roles & 50–950 ramp

primary
#217831
secondary
#AB4A99
accent
#48C4E0
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070F07
muted
#7A7E7A

Preview Lab

Preview with #217831

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

Preview Lab → · Contrast checker → · Palette generator →

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