#218521#218521

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

Color values

HEX#218521
RGBrgb(33, 133, 33)
HSLhsl(120, 60%, 33%)
HSVhsv(120, 75%, 52%)
CMYKcmyk(75.2%, 0%, 75.2%, 47.8%)
CIE-LABlab(48.52, -47.80, 43.29)
CIE-LCHlch(48.52, 64.49, 137.83°)
OKLaboklab(54.05% -0.1297 0.0981)
OKLCHoklch(54.05% 0.163 142.9)
XYZxyz(9.2887, 17.2071, 4.2703)
Luminance0.1721 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218521 #852185
analogous
#538521 #218521 #218553
triadic
#218521 #212185 #852121
tetradic
#218521 #215385 #852185 #855321
square
#218521 #215385 #852185 #855321
split-complementary
#218521 #532185 #852153
monochromatic
#092309 #155415 #218521 #2DB62D #4DD34D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##218521#FFFFFF#000000##FFFFFF
##2185211.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)
#88780F
Deuteranopia (green-blind)
#7D702B
Tritanopia (blue-blind)
#008172
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #218521;
/* rgb */ color: rgb(33, 133, 33);
/* oklch */ color: oklch(54.1% 0.163 142.9);
Tailwind
colors: {
  custom: {
    50: '#6eaa63',
    500: '#218521',
    950: '#000000',
  },
}
SCSS
$custom: #218521;
$custom-light: #6eaa63;
$custom-dark: #000000;
JSON
{
  "hex": "#218521",
  "rgb": {
    "r": 33,
    "g": 133,
    "b": 33
  },
  "hsl": {
    "h": 120,
    "s": 60.241,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54051,
    "c": 0.16266,
    "h": 142.9
  },
  "luminance": 0.17208
}

Semantic roles & 50–950 ramp

primary
#218521
secondary
#B64CB6
accent
#44E3E3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #218521

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

Preview Lab → · Contrast checker → · Palette generator →

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