#218520#218520

#218520 is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.0% C 0.163 H 142.8°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#218520
RGBrgb(33, 133, 32)
HSLhsl(119, 61%, 32%)
HSVhsv(119, 76%, 52%)
CMYKcmyk(75.2%, 0%, 75.9%, 47.8%)
CIE-LABlab(48.51, -47.88, 43.67)
CIE-LCHlch(48.51, 64.80, 137.64°)
OKLaboklab(54.04% -0.13 0.0987)
OKLCHoklch(54.04% 0.163 142.8)
XYZxyz(9.2749, 17.2016, 4.1977)
Luminance0.1720 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218520 #842085
analogous
#548520 #218520 #208552
triadic
#218520 #202185 #852021
tetradic
#218520 #205485 #842085 #855220
square
#218520 #205485 #842085 #855220
split-complementary
#218520 #522085 #852054
monochromatic
#092208 #155414 #218520 #2DB62C #4DD44C

Accessibility & contrast

On white

4.73
#218520 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#218520 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #218520
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218520#FFFFFF#000000##FFFFFF
##2185201.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#88780D
Deuteranopia (green-blind)
#7D702B
Tritanopia (blue-blind)
#008171
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #218520;
/* rgb */ color: rgb(33, 133, 32);
/* oklch */ color: oklch(54.0% 0.163 142.8);
Tailwind
colors: {
  custom: {
    50: '#6eaa63',
    500: '#218520',
    950: '#000000',
  },
}
SCSS
$custom: #218520;
$custom-light: #6eaa63;
$custom-dark: #000000;
JSON
{
  "hex": "#218520",
  "rgb": {
    "r": 33,
    "g": 133,
    "b": 32
  },
  "hsl": {
    "h": 119.406,
    "s": 61.212,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54043,
    "c": 0.16327,
    "h": 142.8
  },
  "luminance": 0.17203
}

Semantic roles & 50–950 ramp

primary
#218520
secondary
#B64AB7
accent
#43E4E3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #218520

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

Preview Lab → · Contrast checker → · Palette generator →

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