#218020#218020

#218020 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.6% C 0.157 H 142.8°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#218020
RGBrgb(33, 128, 32)
HSLhsl(119, 60%, 31%)
HSVhsv(119, 75%, 50%)
CMYKcmyk(74.2%, 0%, 75%, 49.8%)
CIE-LABlab(46.80, -46.15, 41.92)
CIE-LCHlch(46.80, 62.35, 137.75°)
OKLaboklab(52.62% -0.1253 0.0951)
OKLCHoklch(52.62% 0.157 142.8)
XYZxyz(8.6066, 15.8650, 3.9749)
Luminance0.1587 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218020 #7F2080
analogous
#518020 #218020 #20804F
triadic
#218020 #202180 #802021
tetradic
#218020 #205180 #7F2080 #804F20
square
#218020 #205180 #7F2080 #804F20
split-complementary
#218020 #4F2080 #802051
monochromatic
#081E08 #144F14 #218020 #2EB12C #4AD149

Accessibility & contrast

On white

5.03
#218020 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#218020 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #218020
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218020#FFFFFF#000000##FFFFFF
##2180201.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83730F
Deuteranopia (green-blind)
#786C2A
Tritanopia (blue-blind)
#007C6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #218020;
/* rgb */ color: rgb(33, 128, 32);
/* oklch */ color: oklch(52.6% 0.157 142.8);
Tailwind
colors: {
  custom: {
    50: '#6ca662',
    500: '#218020',
    950: '#000000',
  },
}
SCSS
$custom: #218020;
$custom-light: #6ca662;
$custom-dark: #000000;
JSON
{
  "hex": "#218020",
  "rgb": {
    "r": 33,
    "g": 128,
    "b": 32
  },
  "hsl": {
    "h": 119.375,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52618,
    "c": 0.15733,
    "h": 142.8
  },
  "luminance": 0.15866
}

Semantic roles & 50–950 ramp

primary
#218020
secondary
#B249B3
accent
#45E3E2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #218020

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

Preview Lab → · Contrast checker → · Palette generator →

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