#218240#218240

#218240 is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.6% C 0.134 H 149.6°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#218240
RGBrgb(33, 130, 64)
HSLhsl(139, 60%, 32%)
HSVhsv(139, 75%, 51%)
CMYKcmyk(74.6%, 0%, 50.8%, 49%)
CIE-LABlab(47.83, -42.79, 27.83)
CIE-LCHlch(47.83, 51.05, 146.96°)
OKLaboklab(53.58% -0.1151 0.0677)
OKLCHoklch(53.58% 0.134 149.6)
XYZxyz(9.5345, 16.6577, 7.5623)
Luminance0.1666 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218240 #822163
analogous
#338221 #218240 #218271
triadic
#218240 #402182 #824021
tetradic
#218240 #213382 #822163 #827121
square
#218240 #213382 #822163 #827121
split-complementary
#218240 #712182 #822133
monochromatic
#082010 #155128 #218240 #2DB358 #4CD277

Accessibility & contrast

On white

4.85
#218240 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#218240 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #218240
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218240#FFFFFF#000000##FFFFFF
##2182401.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83763B
Deuteranopia (green-blind)
#776E45
Tritanopia (blue-blind)
#008073
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #218240;
/* rgb */ color: rgb(33, 130, 64);
/* oklch */ color: oklch(53.6% 0.134 149.6);
Tailwind
colors: {
  custom: {
    50: '#6ba776',
    500: '#218240',
    950: '#000000',
  },
}
SCSS
$custom: #218240;
$custom-light: #6ba776;
$custom-dark: #000000;
JSON
{
  "hex": "#218240",
  "rgb": {
    "r": 33,
    "g": 130,
    "b": 64
  },
  "hsl": {
    "h": 139.175,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53582,
    "c": 0.13354,
    "h": 149.6
  },
  "luminance": 0.16659
}

Semantic roles & 50–950 ramp

primary
#218240
secondary
#B44A93
accent
#45B0E3
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#081008
muted
#7A7F7B

Preview Lab

Preview with #218240

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

Preview Lab → · Contrast checker → · Palette generator →

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