#218720#218720

#218720 is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.6% C 0.166 H 142.8°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#218720
RGBrgb(33, 135, 32)
HSLhsl(119, 62%, 33%)
HSVhsv(119, 76%, 53%)
CMYKcmyk(75.6%, 0%, 76.3%, 47.1%)
CIE-LABlab(49.20, -48.56, 44.35)
CIE-LCHlch(49.20, 65.77, 137.59°)
OKLaboklab(54.61% -0.1319 0.1002)
OKLCHoklch(54.61% 0.166 142.8)
XYZxyz(9.5513, 17.7545, 4.2898)
Luminance0.1776 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218720 #862087
analogous
#558720 #218720 #208752
triadic
#218720 #202187 #872021
tetradic
#218720 #205587 #862087 #875220
square
#218720 #205587 #862087 #875220
split-complementary
#218720 #522087 #872055
monochromatic
#092409 #155614 #218720 #2DB82C #4ED54D

Accessibility & contrast

On white

4.61
#218720 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#218720 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #218720
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218720#FFFFFF#000000##FFFFFF
##2187201.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A0B
Deuteranopia (green-blind)
#7F722B
Tritanopia (blue-blind)
#008373
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #218720;
/* rgb */ color: rgb(33, 135, 32);
/* oklch */ color: oklch(54.6% 0.166 142.8);
Tailwind
colors: {
  custom: {
    50: '#6eab63',
    500: '#218720',
    950: '#000000',
  },
}
SCSS
$custom: #218720;
$custom-light: #6eab63;
$custom-dark: #000000;
JSON
{
  "hex": "#218720",
  "rgb": {
    "r": 33,
    "g": 135,
    "b": 32
  },
  "hsl": {
    "h": 119.417,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54611,
    "c": 0.16562,
    "h": 142.8
  },
  "luminance": 0.17756
}

Semantic roles & 50–950 ramp

primary
#218720
secondary
#B74BB8
accent
#43E5E3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #218720

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

Preview Lab → · Contrast checker → · Palette generator →

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