#218F1A#218F1A

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

Color values

HEX#218F1A
RGBrgb(33, 143, 26)
HSLhsl(116, 69%, 33%)
HSVhsv(116, 82%, 56%)
CMYKcmyk(76.9%, 0%, 81.8%, 43.9%)
CIE-LABlab(51.88, -51.66, 49.01)
CIE-LCHlch(51.88, 71.21, 136.51°)
OKLaboklab(56.83% -0.1406 0.109)
OKLCHoklch(56.83% 0.178 142.2)
XYZxyz(10.6355, 20.0416, 4.2850)
Luminance0.2004 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218F1A #881A8F
analogous
#5B8F1A #218F1A #1A8F4D
triadic
#218F1A #1A218F #8F1A21
tetradic
#218F1A #1A5B8F #881A8F #8F4D1A
square
#218F1A #1A5B8F #881A8F #8F4D1A
split-complementary
#218F1A #4D1A8F #8F1A5B
monochromatic
#092707 #155B11 #218F1A #2DC323 #4FDD46

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##218F1A#FFFFFF#000000##000000
##218F1A1.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)
#867828
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #218f1a;
/* rgb */ color: rgb(33, 143, 26);
/* oklch */ color: oklch(56.8% 0.178 142.2);
Tailwind
colors: {
  custom: {
    50: '#70b161',
    500: '#218f1a',
    950: '#000000',
  },
}
SCSS
$custom: #218f1a;
$custom-light: #70b161;
$custom-dark: #000000;
JSON
{
  "hex": "#218f1a",
  "rgb": {
    "r": 33,
    "g": 143,
    "b": 26
  },
  "hsl": {
    "h": 116.41,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56833,
    "c": 0.1779,
    "h": 142.2
  },
  "luminance": 0.20043
}

Semantic roles & 50–950 ramp

primary
#218F1A
secondary
#B846BF
accent
#3CECE2
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091105
muted
#7B807A

Preview Lab

Preview with #218F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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