#218226#218226

#218226 is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.2% C 0.156 H 143.6°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#218226
RGBrgb(33, 130, 38)
HSLhsl(123, 60%, 32%)
HSVhsv(123, 75%, 51%)
CMYKcmyk(74.6%, 0%, 70.8%, 49%)
CIE-LABlab(47.53, -46.29, 40.22)
CIE-LCHlch(47.53, 61.32, 139.01°)
OKLaboklab(53.24% -0.1254 0.0923)
OKLCHoklch(53.24% 0.156 143.6)
XYZxyz(8.9591, 16.4275, 4.5320)
Luminance0.1643 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218226 #82217D
analogous
#4D8221 #218226 #218257
triadic
#218226 #262182 #822621
tetradic
#218226 #214D82 #82217D #825721
square
#218226 #214D82 #82217D #825721
split-complementary
#218226 #572182 #82214D
monochromatic
#082009 #155118 #218226 #2DB334 #4CD253

Accessibility & contrast

On white

4.90
#218226 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#218226 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #218226
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218226#FFFFFF#000000##FFFFFF
##2182261.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857519
Deuteranopia (green-blind)
#7A6E2F
Tritanopia (blue-blind)
#007E6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #218226;
/* rgb */ color: rgb(33, 130, 38);
/* oklch */ color: oklch(53.2% 0.156 143.6);
Tailwind
colors: {
  custom: {
    50: '#6da765',
    500: '#218226',
    950: '#000000',
  },
}
SCSS
$custom: #218226;
$custom-light: #6da765;
$custom-dark: #000000;
JSON
{
  "hex": "#218226",
  "rgb": {
    "r": 33,
    "g": 130,
    "b": 38
  },
  "hsl": {
    "h": 123.093,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53242,
    "c": 0.15573,
    "h": 143.6
  },
  "luminance": 0.16429
}

Semantic roles & 50–950 ramp

primary
#218226
secondary
#B44AAF
accent
#45DBE3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #218226

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

Preview Lab → · Contrast checker → · Palette generator →

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