#217314#217314

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

Color values

HEX#217314
RGBrgb(33, 115, 20)
HSLhsl(112, 70%, 26%)
HSVhsv(112, 83%, 45%)
CMYKcmyk(71.3%, 0%, 82.6%, 54.9%)
CIE-LABlab(42.21, -42.48, 41.77)
CIE-LCHlch(42.21, 59.57, 135.48°)
OKLaboklab(48.79% -0.116 0.093)
OKLCHoklch(48.79% 0.149 141.3)
XYZxyz(6.8838, 12.6346, 2.7376)
Luminance0.1263 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217314 #661473
analogous
#517314 #217314 #147337
triadic
#217314 #142173 #731421
tetradic
#217314 #145173 #661473 #733714
square
#217314 #145173 #661473 #733714
split-complementary
#217314 #371473 #731451
monochromatic
#071A05 #123F0B #217314 #30A71D #40DA28

Accessibility & contrast

On white

5.95
#217314 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #217314
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217314#FFFFFF#000000##FFFFFF
##2173141.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.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: #217314;
/* rgb */ color: rgb(33, 115, 20);
/* oklch */ color: oklch(48.8% 0.149 141.3);
Tailwind
colors: {
  custom: {
    50: '#6a9c5a',
    500: '#217314',
    950: '#000000',
  },
}
SCSS
$custom: #217314;
$custom-light: #6a9c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#217314",
  "rgb": {
    "r": 33,
    "g": 115,
    "b": 20
  },
  "hsl": {
    "h": 111.789,
    "s": 70.37,
    "l": 26.471
  },
  "oklch": {
    "l": 0.48786,
    "c": 0.14871,
    "h": 141.3
  },
  "luminance": 0.12635
}

Semantic roles & 50–950 ramp

primary
#217314
secondary
#9A3AA9
accent
#3BEDD5
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #217314

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

Preview Lab → · Contrast checker → · Palette generator →

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