#218B2C#218B2C

#218B2C is a mid, vivid green. Relative luminance 0.190; OKLCH L 55.8% C 0.162 H 144.3°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#218B2C
RGBrgb(33, 139, 44)
HSLhsl(126, 62%, 34%)
HSVhsv(126, 76%, 55%)
CMYKcmyk(76.3%, 0%, 68.3%, 45.5%)
CIE-LABlab(50.65, -48.80, 40.98)
CIE-LCHlch(50.65, 63.73, 139.98°)
OKLaboklab(55.85% -0.132 0.0947)
OKLCHoklch(55.85% 0.162 144.3)
XYZxyz(10.3138, 18.9692, 5.5003)
Luminance0.1897 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218B2C #8B2180
analogous
#4B8B21 #218B2C #218B61
triadic
#218B2C #2C218B #8B2C21
tetradic
#218B2C #214B8B #8B2180 #8B6121
square
#218B2C #214B8B #8B2180 #8B6121
split-complementary
#218B2C #61218B #8B214B
monochromatic
#0A280D #155A1C #218B2C #2DBC3C #51D65F

Accessibility & contrast

On white

4.38
#218B2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#218B2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #218B2C
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218B2C#FFFFFF#000000##000000
##218B2C1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E1F
Deuteranopia (green-blind)
#827535
Tritanopia (blue-blind)
#008778
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #218b2c;
/* rgb */ color: rgb(33, 139, 44);
/* oklch */ color: oklch(55.8% 0.162 144.3);
Tailwind
colors: {
  custom: {
    50: '#6fae6a',
    500: '#218b2c',
    950: '#000000',
  },
}
SCSS
$custom: #218b2c;
$custom-light: #6fae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#218b2c",
  "rgb": {
    "r": 33,
    "g": 139,
    "b": 44
  },
  "hsl": {
    "h": 126.226,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.55848,
    "c": 0.16239,
    "h": 144.3
  },
  "luminance": 0.1897
}

Semantic roles & 50–950 ramp

primary
#218B2C
secondary
#B94FAE
accent
#43D4E5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #218B2C

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

Preview Lab → · Contrast checker → · Palette generator →

#218B2C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva