#218F27#218F27

#218F27 is a mid, vivid green. Relative luminance 0.201; OKLCH L 56.9% C 0.171 H 143.5°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#218F27
RGBrgb(33, 143, 39)
HSLhsl(123, 63%, 35%)
HSVhsv(123, 77%, 56%)
CMYKcmyk(76.9%, 0%, 72.7%, 43.9%)
CIE-LABlab(51.97, -50.66, 44.47)
CIE-LCHlch(51.97, 67.41, 138.72°)
OKLaboklab(56.93% -0.1372 0.1014)
OKLCHoklch(56.93% 0.171 143.5)
XYZxyz(10.8152, 20.1135, 5.2314)
Luminance0.2011 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218F27 #8F2189
analogous
#528F21 #218F27 #218F5E
triadic
#218F27 #27218F #8F2721
tetradic
#218F27 #21528F #8F2189 #8F5E21
square
#218F27 #21528F #8F2189 #8F5E21
split-complementary
#218F27 #5E218F #8F2152
monochromatic
#0A2C0C #165D19 #218F27 #2CC135 #53D75A

Accessibility & contrast

On white

4.18
#218F27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#218F27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #218F27
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218F27#FFFFFF#000000##000000
##218F271.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#928116
Deuteranopia (green-blind)
#867931
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #218f27;
/* rgb */ color: rgb(33, 143, 39);
/* oklch */ color: oklch(56.9% 0.171 143.5);
Tailwind
colors: {
  custom: {
    50: '#70b167',
    500: '#218f27',
    950: '#000000',
  },
}
SCSS
$custom: #218f27;
$custom-light: #70b167;
$custom-dark: #000000;
JSON
{
  "hex": "#218f27",
  "rgb": {
    "r": 33,
    "g": 143,
    "b": 39
  },
  "hsl": {
    "h": 123.273,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.56926,
    "c": 0.17062,
    "h": 143.5
  },
  "luminance": 0.20115
}

Semantic roles & 50–950 ramp

primary
#218F27
secondary
#BB51B5
accent
#42DDE6
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #218F27

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

Preview Lab → · Contrast checker → · Palette generator →

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