#218729#218729

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

Color values

HEX#218729
RGBrgb(33, 135, 41)
HSLhsl(125, 61%, 33%)
HSVhsv(125, 76%, 53%)
CMYKcmyk(75.6%, 0%, 69.6%, 47.1%)
CIE-LABlab(49.27, -47.73, 40.79)
CIE-LCHlch(49.27, 62.79, 139.48°)
OKLaboklab(54.69% -0.1292 0.0939)
OKLCHoklch(54.69% 0.16 144)
XYZxyz(9.6908, 17.8103, 5.0244)
Luminance0.1781 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218729 #87217F
analogous
#4C8721 #218729 #21875C
triadic
#218729 #292187 #872921
tetradic
#218729 #214C87 #87217F #875C21
square
#218729 #214C87 #87217F #875C21
split-complementary
#218729 #5C2187 #87214C
monochromatic
#09250B #15561A #218729 #2DB838 #4FD459

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##218729#FFFFFF#000000##FFFFFF
##2187291.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)
#8A7A1C
Deuteranopia (green-blind)
#7E7232
Tritanopia (blue-blind)
#008374
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #218729;
/* rgb */ color: rgb(33, 135, 41);
/* oklch */ color: oklch(54.7% 0.160 144.0);
Tailwind
colors: {
  custom: {
    50: '#6eab68',
    500: '#218729',
    950: '#000000',
  },
}
SCSS
$custom: #218729;
$custom-light: #6eab68;
$custom-dark: #000000;
JSON
{
  "hex": "#218729",
  "rgb": {
    "r": 33,
    "g": 135,
    "b": 41
  },
  "hsl": {
    "h": 124.706,
    "s": 60.714,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54689,
    "c": 0.1597,
    "h": 144
  },
  "luminance": 0.17811
}

Semantic roles & 50–950 ramp

primary
#218729
secondary
#B74DAF
accent
#44D7E4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #218729

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

Preview Lab → · Contrast checker → · Palette generator →

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