#217217#217217

#217217 is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.5% C 0.146 H 141.6°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#217217
RGBrgb(33, 114, 23)
HSLhsl(113, 66%, 27%)
HSVhsv(113, 80%, 45%)
CMYKcmyk(71.1%, 0%, 79.8%, 55.3%)
CIE-LABlab(41.87, -41.90, 40.41)
CIE-LCHlch(41.87, 58.21, 136.04°)
OKLaboklab(48.52% -0.1143 0.0907)
OKLCHoklch(48.52% 0.146 141.6)
XYZxyz(6.7988, 12.4191, 2.8493)
Luminance0.1242 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217217 #681772
analogous
#4F7217 #217217 #17723B
triadic
#217217 #172172 #721721
tetradic
#217217 #174F72 #681772 #723B17
square
#217217 #174F72 #681772 #723B17
split-complementary
#217217 #3B1772 #72174F
monochromatic
#071905 #123F0D #217217 #30A521 #41D52E

Accessibility & contrast

On white

6.03
#217217 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#217217 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217217
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217217#FFFFFF#000000##FFFFFF
##2172171.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756703
Deuteranopia (green-blind)
#6B6021
Tritanopia (blue-blind)
#0F6E61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #217217;
/* rgb */ color: rgb(33, 114, 23);
/* oklch */ color: oklch(48.5% 0.146 141.6);
Tailwind
colors: {
  custom: {
    50: '#699b5b',
    500: '#217217',
    950: '#000000',
  },
}
SCSS
$custom: #217217;
$custom-light: #699b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#217217",
  "rgb": {
    "r": 33,
    "g": 114,
    "b": 23
  },
  "hsl": {
    "h": 113.407,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.48515,
    "c": 0.1459,
    "h": 141.6
  },
  "luminance": 0.1242
}

Semantic roles & 50–950 ramp

primary
#217217
secondary
#9C3DA8
accent
#3EE9D7
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #217217

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

Preview Lab → · Contrast checker → · Palette generator →

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