#218827#218827

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

Color values

HEX#218827
RGBrgb(33, 136, 39)
HSLhsl(123, 61%, 33%)
HSVhsv(123, 76%, 53%)
CMYKcmyk(75.7%, 0%, 71.3%, 46.7%)
CIE-LABlab(49.59, -48.28, 41.98)
CIE-LCHlch(49.59, 63.98, 138.99°)
OKLaboklab(54.95% -0.1308 0.0962)
OKLCHoklch(54.95% 0.162 143.7)
XYZxyz(9.7969, 18.0770, 4.8920)
Luminance0.1808 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218827 #882182
analogous
#4E8821 #218827 #21885A
triadic
#218827 #272188 #882721
tetradic
#218827 #214E88 #882182 #885A21
square
#218827 #214E88 #882182 #885A21
split-complementary
#218827 #5A2188 #88214E
monochromatic
#09250B #155719 #218827 #2DB935 #4FD457

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##218827#FFFFFF#000000##000000
##2188271.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)
#8B7B19
Deuteranopia (green-blind)
#7F7330
Tritanopia (blue-blind)
#008475
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #218827;
/* rgb */ color: rgb(33, 136, 39);
/* oklch */ color: oklch(55.0% 0.162 143.7);
Tailwind
colors: {
  custom: {
    50: '#6eac67',
    500: '#218827',
    950: '#000000',
  },
}
SCSS
$custom: #218827;
$custom-light: #6eac67;
$custom-dark: #000000;
JSON
{
  "hex": "#218827",
  "rgb": {
    "r": 33,
    "g": 136,
    "b": 39
  },
  "hsl": {
    "h": 123.495,
    "s": 60.947,
    "l": 33.137
  },
  "oklch": {
    "l": 0.54953,
    "c": 0.16231,
    "h": 143.7
  },
  "luminance": 0.18078
}

Semantic roles & 50–950 ramp

primary
#218827
secondary
#B84DB1
accent
#44DBE4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #218827

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

Preview Lab → · Contrast checker → · Palette generator →

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