#218840#218840

#218840 is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.3% C 0.142 H 148.8°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#218840
RGBrgb(33, 136, 64)
HSLhsl(138, 61%, 33%)
HSVhsv(138, 76%, 53%)
CMYKcmyk(75.7%, 0%, 52.9%, 46.7%)
CIE-LABlab(49.86, -45.06, 30.36)
CIE-LCHlch(49.86, 54.34, 146.03°)
OKLaboklab(55.26% -0.1212 0.0733)
OKLCHoklch(55.26% 0.142 148.8)
XYZxyz(10.3559, 18.3006, 7.8361)
Luminance0.1830 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218840 #882169
analogous
#358821 #218840 #218873
triadic
#218840 #402188 #884021
tetradic
#218840 #213588 #882169 #887321
square
#218840 #213588 #882169 #887321
split-complementary
#218840 #732188 #882135
monochromatic
#092512 #155729 #218840 #2DB957 #4FD477

Accessibility & contrast

On white

4.51
#218840 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#218840 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #218840
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218840#FFFFFF#000000##000000
##2188401.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#897C3A
Deuteranopia (green-blind)
#7D7345
Tritanopia (blue-blind)
#008577
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #218840;
/* rgb */ color: rgb(33, 136, 64);
/* oklch */ color: oklch(55.3% 0.142 148.8);
Tailwind
colors: {
  custom: {
    50: '#6dac76',
    500: '#218840',
    950: '#000000',
  },
}
SCSS
$custom: #218840;
$custom-light: #6dac76;
$custom-dark: #000000;
JSON
{
  "hex": "#218840",
  "rgb": {
    "r": 33,
    "g": 136,
    "b": 64
  },
  "hsl": {
    "h": 138.058,
    "s": 60.947,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55263,
    "c": 0.14166,
    "h": 148.8
  },
  "luminance": 0.18302
}

Semantic roles & 50–950 ramp

primary
#218840
secondary
#B84D98
accent
#44B4E4
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #218840

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

Preview Lab → · Contrast checker → · Palette generator →

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