#218B2F#218B2F

#218B2F is a mid, vivid green. Relative luminance 0.190; OKLCH L 55.9% C 0.160 H 144.8°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#218B2F
RGBrgb(33, 139, 47)
HSLhsl(128, 62%, 34%)
HSVhsv(128, 76%, 55%)
CMYKcmyk(76.3%, 0%, 66.2%, 45.5%)
CIE-LABlab(50.68, -48.47, 39.68)
CIE-LCHlch(50.68, 62.64, 140.70°)
OKLaboklab(55.88% -0.1309 0.0922)
OKLCHoklch(55.88% 0.16 144.8)
XYZxyz(10.3722, 18.9926, 5.8081)
Luminance0.1899 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218B2F #8B217D
analogous
#488B21 #218B2F #218B64
triadic
#218B2F #2F218B #8B2F21
tetradic
#218B2F #21488B #8B217D #8B6421
square
#218B2F #21488B #8B217D #8B6421
split-complementary
#218B2F #64218B #8B2148
monochromatic
#0A280E #155A1E #218B2F #2DBC40 #51D662

Accessibility & contrast

On white

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

On black

4.80
#218B2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #218B2F
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218B2F#FFFFFF#000000##000000
##218B2F1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #218b2f;
/* rgb */ color: rgb(33, 139, 47);
/* oklch */ color: oklch(55.9% 0.160 144.8);
Tailwind
colors: {
  custom: {
    50: '#6eae6c',
    500: '#218b2f',
    950: '#000000',
  },
}
SCSS
$custom: #218b2f;
$custom-light: #6eae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#218b2f",
  "rgb": {
    "r": 33,
    "g": 139,
    "b": 47
  },
  "hsl": {
    "h": 127.925,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.5588,
    "c": 0.16014,
    "h": 144.8
  },
  "luminance": 0.18994
}

Semantic roles & 50–950 ramp

primary
#218B2F
secondary
#B94FAB
accent
#43CFE5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #218B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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