#217418#217418

#217418 is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.1% C 0.148 H 141.7°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#217418
RGBrgb(33, 116, 24)
HSLhsl(114, 66%, 27%)
HSVhsv(114, 79%, 45%)
CMYKcmyk(71.6%, 0%, 79.3%, 54.5%)
CIE-LABlab(42.58, -42.55, 40.74)
CIE-LCHlch(42.58, 58.91, 136.25°)
OKLaboklab(49.1% -0.116 0.0915)
OKLCHoklch(49.1% 0.148 141.7)
XYZxyz(7.0371, 12.8793, 2.9791)
Luminance0.1288 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217418 #6B1874
analogous
#4F7418 #217418 #18743D
triadic
#217418 #182174 #741821
tetradic
#217418 #184F74 #6B1874 #743D18
square
#217418 #184F74 #6B1874 #743D18
split-complementary
#217418 #3D1874 #74184F
monochromatic
#071905 #13410E #217418 #2FA722 #42D532

Accessibility & contrast

On white

5.87
#217418 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#217418 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217418
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217418#FFFFFF#000000##FFFFFF
##2174181.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776904
Deuteranopia (green-blind)
#6D6222
Tritanopia (blue-blind)
#0D7063
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #217418;
/* rgb */ color: rgb(33, 116, 24);
/* oklch */ color: oklch(49.1% 0.148 141.7);
Tailwind
colors: {
  custom: {
    50: '#6a9d5c',
    500: '#217418',
    950: '#000000',
  },
}
SCSS
$custom: #217418;
$custom-light: #6a9d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#217418",
  "rgb": {
    "r": 33,
    "g": 116,
    "b": 24
  },
  "hsl": {
    "h": 114.13,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.49103,
    "c": 0.14775,
    "h": 141.7
  },
  "luminance": 0.1288
}

Semantic roles & 50–950 ramp

primary
#217418
secondary
#9F3FA9
accent
#3FE9D8
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #217418

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

Preview Lab → · Contrast checker → · Palette generator →

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