#217512#217512

#217512 is a mid, vivid green. Relative luminance 0.131; OKLCH L 49.4% C 0.152 H 141.1°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#217512
RGBrgb(33, 117, 18)
HSLhsl(111, 73%, 26%)
HSVhsv(111, 85%, 46%)
CMYKcmyk(71.8%, 0%, 84.6%, 54.1%)
CIE-LABlab(42.90, -43.32, 43.05)
CIE-LCHlch(42.90, 61.07, 135.18°)
OKLaboklab(49.35% -0.1184 0.0954)
OKLCHoklch(49.35% 0.152 141.1)
XYZxyz(7.0973, 13.0888, 2.7245)
Luminance0.1309 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217512 #661275
analogous
#537512 #217512 #127535
triadic
#217512 #122175 #751221
tetradic
#217512 #125375 #661275 #753512
square
#217512 #125375 #661275 #753512
split-complementary
#217512 #351275 #751253
monochromatic
#071B04 #12400A #217512 #30AA1A #40DD24

Accessibility & contrast

On white

5.80
#217512 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#217512 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217512
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217512#FFFFFF#000000##FFFFFF
##2175121.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#6E631E
Tritanopia (blue-blind)
#0E7163
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #217512;
/* rgb */ color: rgb(33, 117, 18);
/* oklch */ color: oklch(49.4% 0.152 141.1);
Tailwind
colors: {
  custom: {
    50: '#6a9e5a',
    500: '#217512',
    950: '#000000',
  },
}
SCSS
$custom: #217512;
$custom-light: #6a9e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#217512",
  "rgb": {
    "r": 33,
    "g": 117,
    "b": 18
  },
  "hsl": {
    "h": 110.909,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.49354,
    "c": 0.15204,
    "h": 141.1
  },
  "luminance": 0.1309
}

Semantic roles & 50–950 ramp

primary
#217512
secondary
#9A37AC
accent
#38F0D4
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #217512

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

Preview Lab → · Contrast checker → · Palette generator →

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