#218031#218031

#218031 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.8% C 0.145 H 145.7°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#218031
RGBrgb(33, 128, 49)
HSLhsl(130, 59%, 32%)
HSVhsv(130, 74%, 50%)
CMYKcmyk(74.2%, 0%, 61.7%, 49.8%)
CIE-LABlab(46.95, -44.29, 34.51)
CIE-LCHlch(46.95, 56.15, 142.08°)
OKLaboklab(52.8% -0.1195 0.0814)
OKLCHoklch(52.8% 0.145 145.7)
XYZxyz(8.9001, 15.9824, 5.5210)
Luminance0.1598 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218031 #802170
analogous
#418021 #218031 #218061
triadic
#218031 #312180 #803121
tetradic
#218031 #214180 #802170 #806121
square
#218031 #214180 #802170 #806121
split-complementary
#218031 #612180 #802141
monochromatic
#081F0C #144F1E #218031 #2EB144 #4BD161

Accessibility & contrast

On white

5.00
#218031 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#218031 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #218031
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218031#FFFFFF#000000##FFFFFF
##2180311.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827429
Deuteranopia (green-blind)
#776C37
Tritanopia (blue-blind)
#007D6F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #218031;
/* rgb */ color: rgb(33, 128, 49);
/* oklch */ color: oklch(52.8% 0.145 145.7);
Tailwind
colors: {
  custom: {
    50: '#6ca66c',
    500: '#218031',
    950: '#000000',
  },
}
SCSS
$custom: #218031;
$custom-light: #6ca66c;
$custom-dark: #000000;
JSON
{
  "hex": "#218031",
  "rgb": {
    "r": 33,
    "g": 128,
    "b": 49
  },
  "hsl": {
    "h": 130.105,
    "s": 59.006,
    "l": 31.569
  },
  "oklch": {
    "l": 0.52796,
    "c": 0.14457,
    "h": 145.7
  },
  "luminance": 0.15983
}

Semantic roles & 50–950 ramp

primary
#218031
secondary
#B34AA1
accent
#46C8E2
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F07
muted
#7A7F7A

Preview Lab

Preview with #218031

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

Preview Lab → · Contrast checker → · Palette generator →

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