#218731#218731

#218731 is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.8% C 0.154 H 145.4°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#218731
RGBrgb(33, 135, 49)
HSLhsl(129, 61%, 33%)
HSVhsv(129, 76%, 53%)
CMYKcmyk(75.6%, 0%, 63.7%, 47.1%)
CIE-LABlab(49.34, -46.82, 37.25)
CIE-LCHlch(49.34, 59.83, 141.50°)
OKLaboklab(54.78% -0.1264 0.0872)
OKLCHoklch(54.78% 0.154 145.4)
XYZxyz(9.8449, 17.8719, 5.8359)
Luminance0.1787 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218731 #872177
analogous
#448721 #218731 #218764
triadic
#218731 #312187 #873121
tetradic
#218731 #214487 #872177 #876421
square
#218731 #214487 #872177 #876421
split-complementary
#218731 #642187 #872144
monochromatic
#09250D #15561F #218731 #2DB843 #4FD463

Accessibility & contrast

On white

4.59
#218731 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#218731 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #218731
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218731#FFFFFF#000000##FFFFFF
##2187311.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897A27
Deuteranopia (green-blind)
#7E7238
Tritanopia (blue-blind)
#008475
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #218731;
/* rgb */ color: rgb(33, 135, 49);
/* oklch */ color: oklch(54.8% 0.154 145.4);
Tailwind
colors: {
  custom: {
    50: '#6dab6c',
    500: '#218731',
    950: '#000000',
  },
}
SCSS
$custom: #218731;
$custom-light: #6dab6c;
$custom-dark: #000000;
JSON
{
  "hex": "#218731",
  "rgb": {
    "r": 33,
    "g": 135,
    "b": 49
  },
  "hsl": {
    "h": 129.412,
    "s": 60.714,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54776,
    "c": 0.15356,
    "h": 145.4
  },
  "luminance": 0.17873
}

Semantic roles & 50–950 ramp

primary
#218731
secondary
#B74DA6
accent
#44CBE4
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #218731

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

Preview Lab → · Contrast checker → · Palette generator →

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