#21811D#21811D

#21811D is a mid, vivid green. Relative luminance 0.161; OKLCH L 52.9% C 0.160 H 142.4°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#21811D
RGBrgb(33, 129, 29)
HSLhsl(118, 63%, 31%)
HSVhsv(118, 78%, 51%)
CMYKcmyk(74.4%, 0%, 77.5%, 49.4%)
CIE-LABlab(47.12, -46.75, 43.39)
CIE-LCHlch(47.12, 63.78, 137.13°)
OKLaboklab(52.88% -0.1271 0.0978)
OKLCHoklch(52.88% 0.16 142.4)
XYZxyz(8.6987, 16.1116, 3.8136)
Luminance0.1611 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21811D #7D1D81
analogous
#53811D #21811D #1D814B
triadic
#21811D #1D2181 #811D21
tetradic
#21811D #1D5381 #7D1D81 #814B1D
square
#21811D #1D5381 #7D1D81 #814B1D
split-complementary
#21811D #4B1D81 #811D53
monochromatic
#071D07 #144F12 #21811D #2EB328 #49D544

Accessibility & contrast

On white

4.97
#21811D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#21811D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21811D
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21811D#FFFFFF#000000##FFFFFF
##21811D1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847408
Deuteranopia (green-blind)
#796D28
Tritanopia (blue-blind)
#007D6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #21811d;
/* rgb */ color: rgb(33, 129, 29);
/* oklch */ color: oklch(52.9% 0.160 142.4);
Tailwind
colors: {
  custom: {
    50: '#6da761',
    500: '#21811d',
    950: '#000000',
  },
}
SCSS
$custom: #21811d;
$custom-light: #6da761;
$custom-dark: #000000;
JSON
{
  "hex": "#21811d",
  "rgb": {
    "r": 33,
    "g": 129,
    "b": 29
  },
  "hsl": {
    "h": 117.6,
    "s": 63.291,
    "l": 30.98
  },
  "oklch": {
    "l": 0.5288,
    "c": 0.16035,
    "h": 142.4
  },
  "luminance": 0.16113
}

Semantic roles & 50–950 ramp

primary
#21811D
secondary
#B046B4
accent
#41E6E0
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #21811D

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

Preview Lab → · Contrast checker → · Palette generator →

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