#218022#218022

#218022 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.6% C 0.156 H 143.1°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#218022
RGBrgb(33, 128, 34)
HSLhsl(121, 59%, 32%)
HSVhsv(121, 74%, 50%)
CMYKcmyk(74.2%, 0%, 73.4%, 49.8%)
CIE-LABlab(46.81, -45.97, 41.14)
CIE-LCHlch(46.81, 61.69, 138.17°)
OKLaboklab(52.64% -0.1247 0.0937)
OKLCHoklch(52.64% 0.156 143.1)
XYZxyz(8.6346, 15.8762, 4.1224)
Luminance0.1588 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218022 #80217F
analogous
#508021 #218022 #218052
triadic
#218022 #222180 #802221
tetradic
#218022 #215080 #80217F #805221
square
#218022 #215080 #80217F #805221
split-complementary
#218022 #522180 #802150
monochromatic
#081F08 #144F15 #218022 #2EB12F #4BD14C

Accessibility & contrast

On white

5.03
#218022 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#218022 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #218022
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218022#FFFFFF#000000##FFFFFF
##2180221.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837413
Deuteranopia (green-blind)
#786C2B
Tritanopia (blue-blind)
#007C6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #218022;
/* rgb */ color: rgb(33, 128, 34);
/* oklch */ color: oklch(52.6% 0.156 143.1);
Tailwind
colors: {
  custom: {
    50: '#6ca663',
    500: '#218022',
    950: '#000000',
  },
}
SCSS
$custom: #218022;
$custom-light: #6ca663;
$custom-dark: #000000;
JSON
{
  "hex": "#218022",
  "rgb": {
    "r": 33,
    "g": 128,
    "b": 34
  },
  "hsl": {
    "h": 120.632,
    "s": 59.006,
    "l": 31.569
  },
  "oklch": {
    "l": 0.52635,
    "c": 0.15604,
    "h": 143.1
  },
  "luminance": 0.15877
}

Semantic roles & 50–950 ramp

primary
#218022
secondary
#B34AB2
accent
#46E1E2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #218022

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

Preview Lab → · Contrast checker → · Palette generator →

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