#218231#218231

#218231 is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.4% C 0.147 H 145.6°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#218231
RGBrgb(33, 130, 49)
HSLhsl(130, 60%, 32%)
HSVhsv(130, 75%, 51%)
CMYKcmyk(74.6%, 0%, 62.3%, 49%)
CIE-LABlab(47.64, -45.02, 35.30)
CIE-LCHlch(47.64, 57.21, 141.90°)
OKLaboklab(53.36% -0.1215 0.0831)
OKLCHoklch(53.36% 0.147 145.6)
XYZxyz(9.1636, 16.5093, 5.6088)
Luminance0.1651 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218231 #822172
analogous
#428221 #218231 #218262
triadic
#218231 #312182 #823121
tetradic
#218231 #214282 #822172 #826221
square
#218231 #214282 #822172 #826221
split-complementary
#218231 #622182 #822142
monochromatic
#08200C #15511F #218231 #2DB343 #4CD262

Accessibility & contrast

On white

4.88
#218231 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#218231 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #218231
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218231#FFFFFF#000000##FFFFFF
##2182311.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847628
Deuteranopia (green-blind)
#796E38
Tritanopia (blue-blind)
#007F71
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #218231;
/* rgb */ color: rgb(33, 130, 49);
/* oklch */ color: oklch(53.4% 0.147 145.6);
Tailwind
colors: {
  custom: {
    50: '#6ca76c',
    500: '#218231',
    950: '#000000',
  },
}
SCSS
$custom: #218231;
$custom-light: #6ca76c;
$custom-dark: #000000;
JSON
{
  "hex": "#218231",
  "rgb": {
    "r": 33,
    "g": 130,
    "b": 49
  },
  "hsl": {
    "h": 129.897,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53363,
    "c": 0.14717,
    "h": 145.6
  },
  "luminance": 0.1651
}

Semantic roles & 50–950 ramp

primary
#218231
secondary
#B44AA3
accent
#45C9E3
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081007
muted
#7A7F7A

Preview Lab

Preview with #218231

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

Preview Lab → · Contrast checker → · Palette generator →

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