#218A1F#218A1F

#218A1F is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.5% C 0.170 H 142.7°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#218A1F
RGBrgb(33, 138, 31)
HSLhsl(119, 63%, 33%)
HSVhsv(119, 78%, 54%)
CMYKcmyk(76.1%, 0%, 77.5%, 45.9%)
CIE-LABlab(50.21, -49.66, 45.73)
CIE-LCHlch(50.21, 67.51, 137.36°)
OKLaboklab(55.45% -0.1349 0.1029)
OKLCHoklch(55.45% 0.17 142.7)
XYZxyz(9.9624, 18.5981, 4.3608)
Luminance0.1860 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218A1F #881F8A
analogous
#568A1F #218A1F #1F8A53
triadic
#218A1F #1F218A #8A1F21
tetradic
#218A1F #1F568A #881F8A #8A531F
square
#218A1F #1F568A #881F8A #8A531F
split-complementary
#218A1F #531F8A #8A1F56
monochromatic
#092609 #155814 #218A1F #2DBC2A #4FD74C

Accessibility & contrast

On white

4.45
#218A1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#218A1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #218A1F
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218A1F#FFFFFF#000000##000000
##218A1F1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C07
Deuteranopia (green-blind)
#81742B
Tritanopia (blue-blind)
#008676
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #218a1f;
/* rgb */ color: rgb(33, 138, 31);
/* oklch */ color: oklch(55.5% 0.170 142.7);
Tailwind
colors: {
  custom: {
    50: '#6fad63',
    500: '#218a1f',
    950: '#000000',
  },
}
SCSS
$custom: #218a1f;
$custom-light: #6fad63;
$custom-dark: #000000;
JSON
{
  "hex": "#218a1f",
  "rgb": {
    "r": 33,
    "g": 138,
    "b": 31
  },
  "hsl": {
    "h": 118.879,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55453,
    "c": 0.16966,
    "h": 142.7
  },
  "luminance": 0.18599
}

Semantic roles & 50–950 ramp

primary
#218A1F
secondary
#B84BBA
accent
#41E6E3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #218A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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