#218817#218817

#218817 is a mid, vivid green. Relative luminance 0.180; OKLCH L 54.8% C 0.171 H 141.9°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#218817
RGBrgb(33, 136, 23)
HSLhsl(115, 71%, 31%)
HSVhsv(115, 83%, 53%)
CMYKcmyk(75.7%, 0%, 83.1%, 46.7%)
CIE-LABlab(49.49, -49.54, 47.67)
CIE-LCHlch(49.49, 68.75, 136.10°)
OKLaboklab(54.84% -0.1349 0.1058)
OKLCHoklch(54.84% 0.171 141.9)
XYZxyz(9.5855, 17.9924, 3.7782)
Luminance0.1799 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218817 #7E1788
analogous
#598817 #218817 #178845
triadic
#218817 #172188 #881721
tetradic
#218817 #175988 #7E1788 #884517
square
#218817 #175988 #7E1788 #884517
split-complementary
#218817 #451788 #881759
monochromatic
#081F05 #14540E #218817 #2EBC20 #4ADE3B

Accessibility & contrast

On white

4.57
#218817 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#218817 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #218817
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218817#FFFFFF#000000##000000
##2188171.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#807325
Tritanopia (blue-blind)
#008473
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #218817;
/* rgb */ color: rgb(33, 136, 23);
/* oklch */ color: oklch(54.8% 0.171 141.9);
Tailwind
colors: {
  custom: {
    50: '#6fac5f',
    500: '#218817',
    950: '#000000',
  },
}
SCSS
$custom: #218817;
$custom-light: #6fac5f;
$custom-dark: #000000;
JSON
{
  "hex": "#218817",
  "rgb": {
    "r": 33,
    "g": 136,
    "b": 23
  },
  "hsl": {
    "h": 114.69,
    "s": 71.069,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54835,
    "c": 0.17148,
    "h": 141.9
  },
  "luminance": 0.17994
}

Semantic roles & 50–950 ramp

primary
#218817
secondary
#B13FBC
accent
#3AEEDE
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #218817

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

Preview Lab → · Contrast checker → · Palette generator →

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