#217015#217015

#217015 is a mid, vivid green. Relative luminance 0.120; OKLCH L 47.9% C 0.145 H 141.3°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#217015
RGBrgb(33, 112, 21)
HSLhsl(112, 68%, 26%)
HSVhsv(112, 81%, 44%)
CMYKcmyk(70.5%, 0%, 81.2%, 56.1%)
CIE-LABlab(41.16, -41.32, 40.42)
CIE-LCHlch(41.16, 57.81, 135.63°)
OKLaboklab(47.92% -0.1129 0.0904)
OKLCHoklch(47.92% 0.145 141.3)
XYZxyz(6.5564, 11.9651, 2.6733)
Luminance0.1197 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217015 #641570
analogous
#4E7015 #217015 #157036
triadic
#217015 #152170 #701521
tetradic
#217015 #154E70 #641570 #703615
square
#217015 #154E70 #641570 #703615
split-complementary
#217015 #361570 #70154E
monochromatic
#081A05 #123C0B #217015 #30A41F #40D729

Accessibility & contrast

On white

6.19
#217015 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#217015 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217015
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217015#FFFFFF#000000##FFFFFF
##2170151.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736500
Deuteranopia (green-blind)
#6A5F1F
Tritanopia (blue-blind)
#106C5F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #217015;
/* rgb */ color: rgb(33, 112, 21);
/* oklch */ color: oklch(47.9% 0.145 141.3);
Tailwind
colors: {
  custom: {
    50: '#699a5a',
    500: '#217015',
    950: '#000000',
  },
}
SCSS
$custom: #217015;
$custom-light: #699a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#217015",
  "rgb": {
    "r": 33,
    "g": 112,
    "b": 21
  },
  "hsl": {
    "h": 112.088,
    "s": 68.421,
    "l": 26.078
  },
  "oklch": {
    "l": 0.47919,
    "c": 0.14459,
    "h": 141.3
  },
  "luminance": 0.11966
}

Semantic roles & 50–950 ramp

primary
#217015
secondary
#983BA6
accent
#3DEBD4
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #217015

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

Preview Lab → · Contrast checker → · Palette generator →

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