#217313#217313

#217313 is a mid, vivid green. Relative luminance 0.126; OKLCH L 48.8% C 0.149 H 141.2°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#217313
RGBrgb(33, 115, 19)
HSLhsl(111, 72%, 26%)
HSVhsv(111, 83%, 45%)
CMYKcmyk(71.3%, 0%, 83.5%, 54.9%)
CIE-LABlab(42.20, -42.54, 42.09)
CIE-LCHlch(42.20, 59.84, 135.31°)
OKLaboklab(48.78% -0.1162 0.0935)
OKLCHoklch(48.78% 0.149 141.2)
XYZxyz(6.8751, 12.6311, 2.6917)
Luminance0.1263 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217313 #651373
analogous
#517313 #217313 #137335
triadic
#217313 #132173 #731321
tetradic
#217313 #135173 #651373 #733513
square
#217313 #135173 #651373 #733513
split-complementary
#217313 #351373 #731351
monochromatic
#081A04 #123E0A #217313 #30A81C #40DB25

Accessibility & contrast

On white

5.96
#217313 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#217313 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217313
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217313#FFFFFF#000000##FFFFFF
##2173131.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766800
Deuteranopia (green-blind)
#6D611F
Tritanopia (blue-blind)
#0F6F61
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #217313;
/* rgb */ color: rgb(33, 115, 19);
/* oklch */ color: oklch(48.8% 0.149 141.2);
Tailwind
colors: {
  custom: {
    50: '#6a9c5a',
    500: '#217313',
    950: '#000000',
  },
}
SCSS
$custom: #217313;
$custom-light: #6a9c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#217313",
  "rgb": {
    "r": 33,
    "g": 115,
    "b": 19
  },
  "hsl": {
    "h": 111.25,
    "s": 71.642,
    "l": 26.275
  },
  "oklch": {
    "l": 0.4878,
    "c": 0.14922,
    "h": 141.2
  },
  "luminance": 0.12632
}

Semantic roles & 50–950 ramp

primary
#217313
secondary
#9938AA
accent
#39EED4
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #217313

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

Preview Lab → · Contrast checker → · Palette generator →

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