#218131#218131

#218131 is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.1% C 0.146 H 145.7°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#218131
RGBrgb(33, 129, 49)
HSLhsl(130, 59%, 32%)
HSVhsv(130, 74%, 51%)
CMYKcmyk(74.4%, 0%, 62%, 49.4%)
CIE-LABlab(47.29, -44.66, 34.91)
CIE-LCHlch(47.29, 56.68, 141.99°)
OKLaboklab(53.08% -0.1205 0.0822)
OKLCHoklch(53.08% 0.146 145.7)
XYZxyz(9.0312, 16.2446, 5.5647)
Luminance0.1625 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218131 #812171
analogous
#418121 #218131 #218161
triadic
#218131 #312181 #813121
tetradic
#218131 #214181 #812171 #816121
square
#218131 #214181 #812171 #816121
split-complementary
#218131 #612181 #812141
monochromatic
#08200C #15501E #218131 #2DB244 #4BD162

Accessibility & contrast

On white

4.94
#218131 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#218131 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #218131
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218131#FFFFFF#000000##FFFFFF
##2181311.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837528
Deuteranopia (green-blind)
#786D38
Tritanopia (blue-blind)
#007E70
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #218131;
/* rgb */ color: rgb(33, 129, 49);
/* oklch */ color: oklch(53.1% 0.146 145.7);
Tailwind
colors: {
  custom: {
    50: '#6ca76c',
    500: '#218131',
    950: '#000000',
  },
}
SCSS
$custom: #218131;
$custom-light: #6ca76c;
$custom-dark: #000000;
JSON
{
  "hex": "#218131",
  "rgb": {
    "r": 33,
    "g": 129,
    "b": 49
  },
  "hsl": {
    "h": 130,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.5308,
    "c": 0.14588,
    "h": 145.7
  },
  "luminance": 0.16246
}

Semantic roles & 50–950 ramp

primary
#218131
secondary
#B44AA2
accent
#45C8E2
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F07
muted
#7A7F7A

Preview Lab

Preview with #218131

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

Preview Lab → · Contrast checker → · Palette generator →

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