#218228#218228

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

Color values

HEX#218228
RGBrgb(33, 130, 40)
HSLhsl(124, 60%, 32%)
HSVhsv(124, 75%, 51%)
CMYKcmyk(74.6%, 0%, 69.2%, 49%)
CIE-LABlab(47.55, -46.08, 39.37)
CIE-LCHlch(47.55, 60.61, 139.49°)
OKLaboklab(53.26% -0.1247 0.0908)
OKLCHoklch(53.26% 0.154 144)
XYZxyz(8.9923, 16.4408, 4.7066)
Luminance0.1644 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218228 #82217B
analogous
#4B8221 #218228 #218259
triadic
#218228 #282182 #822821
tetradic
#218228 #214B82 #82217B #825921
square
#218228 #214B82 #82217B #825921
split-complementary
#218228 #592182 #82214B
monochromatic
#08200A #155119 #218228 #2DB337 #4CD256

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##218228#FFFFFF#000000##FFFFFF
##2182281.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)
#85751C
Deuteranopia (green-blind)
#796E30
Tritanopia (blue-blind)
#007E70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #218228;
/* rgb */ color: rgb(33, 130, 40);
/* oklch */ color: oklch(53.3% 0.154 144.0);
Tailwind
colors: {
  custom: {
    50: '#6ca767',
    500: '#218228',
    950: '#000000',
  },
}
SCSS
$custom: #218228;
$custom-light: #6ca767;
$custom-dark: #000000;
JSON
{
  "hex": "#218228",
  "rgb": {
    "r": 33,
    "g": 130,
    "b": 40
  },
  "hsl": {
    "h": 124.33,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53262,
    "c": 0.15429,
    "h": 144
  },
  "luminance": 0.16442
}

Semantic roles & 50–950 ramp

primary
#218228
secondary
#B44AAD
accent
#45D7E3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #218228

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

Preview Lab → · Contrast checker → · Palette generator →

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