#218728#218728

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

Color values

HEX#218728
RGBrgb(33, 135, 40)
HSLhsl(124, 61%, 33%)
HSVhsv(124, 76%, 53%)
CMYKcmyk(75.6%, 0%, 70.4%, 47.1%)
CIE-LABlab(49.26, -47.83, 41.21)
CIE-LCHlch(49.26, 63.14, 139.25°)
OKLaboklab(54.68% -0.1295 0.0947)
OKLCHoklch(54.68% 0.16 143.8)
XYZxyz(9.6735, 17.8034, 4.9337)
Luminance0.1780 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218728 #872180
analogous
#4D8721 #218728 #21875B
triadic
#218728 #282187 #872821
tetradic
#218728 #214D87 #872180 #875B21
square
#218728 #214D87 #872180 #875B21
split-complementary
#218728 #5B2187 #87214D
monochromatic
#09250B #155619 #218728 #2DB837 #4FD458

Accessibility & contrast

On white

4.60
#218728 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #218728
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218728#FFFFFF#000000##FFFFFF
##2187281.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #218728;
/* rgb */ color: rgb(33, 135, 40);
/* oklch */ color: oklch(54.7% 0.160 143.8);
Tailwind
colors: {
  custom: {
    50: '#6eab67',
    500: '#218728',
    950: '#000000',
  },
}
SCSS
$custom: #218728;
$custom-light: #6eab67;
$custom-dark: #000000;
JSON
{
  "hex": "#218728",
  "rgb": {
    "r": 33,
    "g": 135,
    "b": 40
  },
  "hsl": {
    "h": 124.118,
    "s": 60.714,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5468,
    "c": 0.16041,
    "h": 143.8
  },
  "luminance": 0.17804
}

Semantic roles & 50–950 ramp

primary
#218728
secondary
#B74DB0
accent
#44D9E4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #218728

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

Preview Lab → · Contrast checker → · Palette generator →

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