#218122#218122

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

Color values

HEX#218122
RGBrgb(33, 129, 34)
HSLhsl(121, 59%, 32%)
HSVhsv(121, 74%, 51%)
CMYKcmyk(74.4%, 0%, 73.6%, 49.4%)
CIE-LABlab(47.16, -46.32, 41.50)
CIE-LCHlch(47.16, 62.19, 138.15°)
OKLaboklab(52.92% -0.1257 0.0945)
OKLCHoklch(52.92% 0.157 143.1)
XYZxyz(8.7657, 16.1384, 4.1661)
Luminance0.1614 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218122 #812180
analogous
#508121 #218122 #218152
triadic
#218122 #222181 #812221
tetradic
#218122 #215081 #812180 #815221
square
#218122 #215081 #812180 #815221
split-complementary
#218122 #522181 #812150
monochromatic
#082008 #155015 #218122 #2DB22F #4BD14D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##218122#FFFFFF#000000##FFFFFF
##2181221.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)
#847412
Deuteranopia (green-blind)
#796D2C
Tritanopia (blue-blind)
#007D6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #218122;
/* rgb */ color: rgb(33, 129, 34);
/* oklch */ color: oklch(52.9% 0.157 143.1);
Tailwind
colors: {
  custom: {
    50: '#6da763',
    500: '#218122',
    950: '#000000',
  },
}
SCSS
$custom: #218122;
$custom-light: #6da763;
$custom-dark: #000000;
JSON
{
  "hex": "#218122",
  "rgb": {
    "r": 33,
    "g": 129,
    "b": 34
  },
  "hsl": {
    "h": 120.625,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52921,
    "c": 0.15725,
    "h": 143.1
  },
  "luminance": 0.16139
}

Semantic roles & 50–950 ramp

primary
#218122
secondary
#B44AB2
accent
#45E1E2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #218122

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

Preview Lab → · Contrast checker → · Palette generator →

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