#217018#217018

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

Color values

HEX#217018
RGBrgb(33, 112, 24)
HSLhsl(114, 65%, 27%)
HSVhsv(114, 79%, 44%)
CMYKcmyk(70.5%, 0%, 78.6%, 56.1%)
CIE-LABlab(41.18, -41.10, 39.35)
CIE-LCHlch(41.18, 56.90, 136.24°)
OKLaboklab(47.94% -0.1121 0.0886)
OKLCHoklch(47.94% 0.143 141.7)
XYZxyz(6.5859, 11.9769, 2.8287)
Luminance0.1198 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217018 #671870
analogous
#4D7018 #217018 #18703B
triadic
#217018 #182170 #701821
tetradic
#217018 #184D70 #671870 #703B18
square
#217018 #184D70 #671870 #703B18
split-complementary
#217018 #3B1870 #70184D
monochromatic
#071905 #123E0D #217018 #30A223 #40D330

Accessibility & contrast

On white

6.18
#217018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#217018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217018
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217018#FFFFFF#000000##FFFFFF
##2170181.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #217018;
/* rgb */ color: rgb(33, 112, 24);
/* oklch */ color: oklch(47.9% 0.143 141.7);
Tailwind
colors: {
  custom: {
    50: '#699a5c',
    500: '#217018',
    950: '#000000',
  },
}
SCSS
$custom: #217018;
$custom-light: #699a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#217018",
  "rgb": {
    "r": 33,
    "g": 112,
    "b": 24
  },
  "hsl": {
    "h": 113.864,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.47941,
    "c": 0.14287,
    "h": 141.7
  },
  "luminance": 0.11978
}

Semantic roles & 50–950 ramp

primary
#217018
secondary
#9B3EA5
accent
#40E8D7
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #217018

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

Preview Lab → · Contrast checker → · Palette generator →

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