#218F1B#218F1B

#218F1B is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.8% C 0.177 H 142.3°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#218F1B
RGBrgb(33, 143, 27)
HSLhsl(117, 68%, 33%)
HSVhsv(117, 81%, 56%)
CMYKcmyk(76.9%, 0%, 81.1%, 43.9%)
CIE-LABlab(51.89, -51.60, 48.71)
CIE-LCHlch(51.89, 70.96, 136.65°)
OKLaboklab(56.84% -0.1403 0.1085)
OKLCHoklch(56.84% 0.177 142.3)
XYZxyz(10.6469, 20.0462, 4.3449)
Luminance0.2005 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218F1B #891B8F
analogous
#5B8F1B #218F1B #1B8F4F
triadic
#218F1B #1B218F #8F1B21
tetradic
#218F1B #1B5B8F #891B8F #8F4F1B
square
#218F1B #1B5B8F #891B8F #8F4F1B
split-complementary
#218F1B #4F1B8F #8F1B5B
monochromatic
#092808 #155C11 #218F1B #2DC225 #50DC48

Accessibility & contrast

On white

4.19
#218F1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#218F1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #218F1B
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218F1B#FFFFFF#000000##000000
##218F1B1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#867829
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #218f1b;
/* rgb */ color: rgb(33, 143, 27);
/* oklch */ color: oklch(56.8% 0.177 142.3);
Tailwind
colors: {
  custom: {
    50: '#70b162',
    500: '#218f1b',
    950: '#000000',
  },
}
SCSS
$custom: #218f1b;
$custom-light: #70b162;
$custom-dark: #000000;
JSON
{
  "hex": "#218f1b",
  "rgb": {
    "r": 33,
    "g": 143,
    "b": 27
  },
  "hsl": {
    "h": 116.897,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56839,
    "c": 0.17742,
    "h": 142.3
  },
  "luminance": 0.20047
}

Semantic roles & 50–950 ramp

primary
#218F1B
secondary
#B848BE
accent
#3DEBE2
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091105
muted
#7B807A

Preview Lab

Preview with #218F1B

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

Preview Lab → · Contrast checker → · Palette generator →

#218F1B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva