#21812D#21812D

#21812D is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.0% C 0.149 H 144.9°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#21812D
RGBrgb(33, 129, 45)
HSLhsl(128, 59%, 32%)
HSVhsv(128, 74%, 51%)
CMYKcmyk(74.4%, 0%, 65.1%, 49.4%)
CIE-LABlab(47.25, -45.16, 36.77)
CIE-LCHlch(47.25, 58.24, 140.84°)
OKLaboklab(53.03% -0.122 0.0858)
OKLCHoklch(53.03% 0.149 144.9)
XYZxyz(8.9505, 16.2123, 5.1397)
Luminance0.1621 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21812D #812175
analogous
#458121 #21812D #21815D
triadic
#21812D #2D2181 #812D21
tetradic
#21812D #214581 #812175 #815D21
square
#21812D #214581 #812175 #815D21
split-complementary
#21812D #5D2181 #812145
monochromatic
#08200B #15501C #21812D #2DB23E #4BD15C

Accessibility & contrast

On white

4.95
#21812D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#21812D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21812D
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21812D#FFFFFF#000000##FFFFFF
##21812D1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837523
Deuteranopia (green-blind)
#786D34
Tritanopia (blue-blind)
#007E6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #21812d;
/* rgb */ color: rgb(33, 129, 45);
/* oklch */ color: oklch(53.0% 0.149 144.9);
Tailwind
colors: {
  custom: {
    50: '#6ca769',
    500: '#21812d',
    950: '#000000',
  },
}
SCSS
$custom: #21812d;
$custom-light: #6ca769;
$custom-dark: #000000;
JSON
{
  "hex": "#21812d",
  "rgb": {
    "r": 33,
    "g": 129,
    "b": 45
  },
  "hsl": {
    "h": 127.5,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53031,
    "c": 0.14918,
    "h": 144.9
  },
  "luminance": 0.16213
}

Semantic roles & 50–950 ramp

primary
#21812D
secondary
#B44AA6
accent
#45CFE2
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #21812D

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

Preview Lab → · Contrast checker → · Palette generator →

#21812D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva