#218727#218727

#218727 is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.7% C 0.161 H 143.7°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#218727
RGBrgb(33, 135, 39)
HSLhsl(124, 61%, 33%)
HSVhsv(124, 76%, 53%)
CMYKcmyk(75.6%, 0%, 71.1%, 47.1%)
CIE-LABlab(49.25, -47.93, 41.62)
CIE-LCHlch(49.25, 63.48, 139.03°)
OKLaboklab(54.67% -0.1298 0.0954)
OKLCHoklch(54.67% 0.161 143.7)
XYZxyz(9.6568, 17.7967, 4.8452)
Luminance0.1780 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218727 #872181
analogous
#4E8721 #218727 #21875A
triadic
#218727 #272187 #872721
tetradic
#218727 #214E87 #872181 #875A21
square
#218727 #214E87 #872181 #875A21
split-complementary
#218727 #5A2187 #87214E
monochromatic
#09250B #155619 #218727 #2DB835 #4FD456

Accessibility & contrast

On white

4.61
#218727 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#218727 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #218727
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218727#FFFFFF#000000##FFFFFF
##2187271.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A19
Deuteranopia (green-blind)
#7E7230
Tritanopia (blue-blind)
#008374
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #218727;
/* rgb */ color: rgb(33, 135, 39);
/* oklch */ color: oklch(54.7% 0.161 143.7);
Tailwind
colors: {
  custom: {
    50: '#6eab67',
    500: '#218727',
    950: '#000000',
  },
}
SCSS
$custom: #218727;
$custom-light: #6eab67;
$custom-dark: #000000;
JSON
{
  "hex": "#218727",
  "rgb": {
    "r": 33,
    "g": 135,
    "b": 39
  },
  "hsl": {
    "h": 123.529,
    "s": 60.714,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5467,
    "c": 0.1611,
    "h": 143.7
  },
  "luminance": 0.17798
}

Semantic roles & 50–950 ramp

primary
#218727
secondary
#B74DB1
accent
#44DAE4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #218727

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

Preview Lab → · Contrast checker → · Palette generator →

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