#218121#218121

#218121 is a mid, vivid green. Relative luminance 0.161; OKLCH L 52.9% C 0.158 H 142.9°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#218121
RGBrgb(33, 129, 33)
HSLhsl(120, 59%, 32%)
HSVhsv(120, 74%, 51%)
CMYKcmyk(74.4%, 0%, 74.4%, 49.4%)
CIE-LABlab(47.15, -46.41, 41.89)
CIE-LCHlch(47.15, 62.52, 137.93°)
OKLaboklab(52.91% -0.126 0.0952)
OKLCHoklch(52.91% 0.158 142.9)
XYZxyz(8.7514, 16.1327, 4.0913)
Luminance0.1613 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218121 #812181
analogous
#518121 #218121 #218151
triadic
#218121 #212181 #812121
tetradic
#218121 #215181 #812181 #815121
square
#218121 #215181 #812181 #815121
split-complementary
#218121 #512181 #812151
monochromatic
#082008 #155015 #218121 #2DB22D #4BD14B

Accessibility & contrast

On white

4.97
#218121 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#218121 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #218121
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218121#FFFFFF#000000##FFFFFF
##2181211.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847410
Deuteranopia (green-blind)
#796D2B
Tritanopia (blue-blind)
#007D6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #218121;
/* rgb */ color: rgb(33, 129, 33);
/* oklch */ color: oklch(52.9% 0.158 142.9);
Tailwind
colors: {
  custom: {
    50: '#6da763',
    500: '#218121',
    950: '#000000',
  },
}
SCSS
$custom: #218121;
$custom-light: #6da763;
$custom-dark: #000000;
JSON
{
  "hex": "#218121",
  "rgb": {
    "r": 33,
    "g": 129,
    "b": 33
  },
  "hsl": {
    "h": 120,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52912,
    "c": 0.15789,
    "h": 142.9
  },
  "luminance": 0.16134
}

Semantic roles & 50–950 ramp

primary
#218121
secondary
#B44AB4
accent
#45E2E2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #218121

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

Preview Lab → · Contrast checker → · Palette generator →

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