#218726#218726

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

Color values

HEX#218726
RGBrgb(33, 135, 38)
HSLhsl(123, 61%, 33%)
HSVhsv(123, 76%, 53%)
CMYKcmyk(75.6%, 0%, 71.9%, 47.1%)
CIE-LABlab(49.24, -48.03, 42.03)
CIE-LCHlch(49.24, 63.83, 138.81°)
OKLaboklab(54.66% -0.1301 0.0961)
OKLCHoklch(54.66% 0.162 143.5)
XYZxyz(9.6404, 17.7901, 4.7591)
Luminance0.1779 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218726 #872182
analogous
#4F8721 #218726 #218759
triadic
#218726 #262187 #872621
tetradic
#218726 #214F87 #872182 #875921
square
#218726 #214F87 #872182 #875921
split-complementary
#218726 #592187 #87214F
monochromatic
#09250A #155618 #218726 #2DB834 #4FD455

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##218726#FFFFFF#000000##FFFFFF
##2187261.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)
#8A7A17
Deuteranopia (green-blind)
#7E7230
Tritanopia (blue-blind)
#008374
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #218726;
/* rgb */ color: rgb(33, 135, 38);
/* oklch */ color: oklch(54.7% 0.162 143.5);
Tailwind
colors: {
  custom: {
    50: '#6eab66',
    500: '#218726',
    950: '#000000',
  },
}
SCSS
$custom: #218726;
$custom-light: #6eab66;
$custom-dark: #000000;
JSON
{
  "hex": "#218726",
  "rgb": {
    "r": 33,
    "g": 135,
    "b": 38
  },
  "hsl": {
    "h": 122.941,
    "s": 60.714,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54661,
    "c": 0.16179,
    "h": 143.5
  },
  "luminance": 0.17791
}

Semantic roles & 50–950 ramp

primary
#218726
secondary
#B74DB2
accent
#44DCE4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #218726

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

Preview Lab → · Contrast checker → · Palette generator →

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