#218828#218828

#218828 is a mid, vivid green. Relative luminance 0.181; OKLCH L 55.0% C 0.162 H 143.8°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#218828
RGBrgb(33, 136, 40)
HSLhsl(124, 61%, 33%)
HSVhsv(124, 76%, 53%)
CMYKcmyk(75.7%, 0%, 70.6%, 46.7%)
CIE-LABlab(49.60, -48.18, 41.57)
CIE-LCHlch(49.60, 63.64, 139.21°)
OKLaboklab(54.96% -0.1304 0.0954)
OKLCHoklch(54.96% 0.162 143.8)
XYZxyz(9.8137, 18.0837, 4.9804)
Luminance0.1809 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218828 #882181
analogous
#4D8821 #218828 #21885B
triadic
#218828 #282188 #882821
tetradic
#218828 #214D88 #882181 #885B21
square
#218828 #214D88 #882181 #885B21
split-complementary
#218828 #5B2188 #88214D
monochromatic
#09250B #15571A #218828 #2DB936 #4FD458

Accessibility & contrast

On white

4.55
#218828 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#218828 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #218828
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218828#FFFFFF#000000##000000
##2188281.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B1A
Deuteranopia (green-blind)
#7F7331
Tritanopia (blue-blind)
#008475
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #218828;
/* rgb */ color: rgb(33, 136, 40);
/* oklch */ color: oklch(55.0% 0.162 143.8);
Tailwind
colors: {
  custom: {
    50: '#6eac67',
    500: '#218828',
    950: '#000000',
  },
}
SCSS
$custom: #218828;
$custom-light: #6eac67;
$custom-dark: #000000;
JSON
{
  "hex": "#218828",
  "rgb": {
    "r": 33,
    "g": 136,
    "b": 40
  },
  "hsl": {
    "h": 124.078,
    "s": 60.947,
    "l": 33.137
  },
  "oklch": {
    "l": 0.54963,
    "c": 0.16162,
    "h": 143.8
  },
  "luminance": 0.18085
}

Semantic roles & 50–950 ramp

primary
#218828
secondary
#B84DB0
accent
#44D9E4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #218828

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

Preview Lab → · Contrast checker → · Palette generator →

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