#218417#218417

#218417 is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.7% C 0.167 H 141.9°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#218417
RGBrgb(33, 132, 23)
HSLhsl(114, 70%, 30%)
HSVhsv(114, 83%, 52%)
CMYKcmyk(75%, 0%, 82.6%, 48.2%)
CIE-LABlab(48.12, -48.19, 46.39)
CIE-LCHlch(48.12, 66.89, 136.09°)
OKLaboklab(53.7% -0.1313 0.1031)
OKLCHoklch(53.7% 0.167 141.9)
XYZxyz(9.0326, 16.8867, 3.5939)
Luminance0.1689 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218417 #7A1784
analogous
#588417 #218417 #178443
triadic
#218417 #172184 #841721
tetradic
#218417 #175884 #7A1784 #844317
square
#218417 #175884 #7A1784 #844317
split-complementary
#218417 #431784 #841758
monochromatic
#071C05 #14500E #218417 #2EB820 #48DC39

Accessibility & contrast

On white

4.80
#218417 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#218417 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #218417
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218417#FFFFFF#000000##FFFFFF
##2184171.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#7C6F24
Tritanopia (blue-blind)
#008070
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #218417;
/* rgb */ color: rgb(33, 132, 23);
/* oklch */ color: oklch(53.7% 0.167 141.9);
Tailwind
colors: {
  custom: {
    50: '#6ea95e',
    500: '#218417',
    950: '#000000',
  },
}
SCSS
$custom: #218417;
$custom-light: #6ea95e;
$custom-dark: #000000;
JSON
{
  "hex": "#218417",
  "rgb": {
    "r": 33,
    "g": 132,
    "b": 23
  },
  "hsl": {
    "h": 114.495,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.53697,
    "c": 0.16698,
    "h": 141.9
  },
  "luminance": 0.16888
}

Semantic roles & 50–950 ramp

primary
#218417
secondary
#AD3FB8
accent
#3BEDDD
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #218417

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

Preview Lab → · Contrast checker → · Palette generator →

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