#21811A#21811A

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

Color values

HEX#21811A
RGBrgb(33, 129, 26)
HSLhsl(116, 66%, 30%)
HSVhsv(116, 80%, 51%)
CMYKcmyk(74.4%, 0%, 79.8%, 49.4%)
CIE-LABlab(47.10, -46.97, 44.44)
CIE-LCHlch(47.10, 64.66, 136.59°)
OKLaboklab(52.86% -0.1279 0.0995)
OKLCHoklch(52.86% 0.162 142.1)
XYZxyz(8.6634, 16.0975, 3.6276)
Luminance0.1610 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21811A #7A1A81
analogous
#55811A #21811A #1A8146
triadic
#21811A #1A2181 #811A21
tetradic
#21811A #1A5581 #7A1A81 #81461A
square
#21811A #1A5581 #7A1A81 #81461A
split-complementary
#21811A #461A81 #811A55
monochromatic
#071B05 #144E10 #21811A #2EB424 #48D83D

Accessibility & contrast

On white

4.98
#21811A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #21811A
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21811A#FFFFFF#000000##FFFFFF
##21811A1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847401
Deuteranopia (green-blind)
#796D26
Tritanopia (blue-blind)
#017D6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #21811a;
/* rgb */ color: rgb(33, 129, 26);
/* oklch */ color: oklch(52.9% 0.162 142.1);
Tailwind
colors: {
  custom: {
    50: '#6da75f',
    500: '#21811a',
    950: '#000000',
  },
}
SCSS
$custom: #21811a;
$custom-light: #6da75f;
$custom-dark: #000000;
JSON
{
  "hex": "#21811a",
  "rgb": {
    "r": 33,
    "g": 129,
    "b": 26
  },
  "hsl": {
    "h": 115.922,
    "s": 66.452,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52859,
    "c": 0.16202,
    "h": 142.1
  },
  "luminance": 0.16098
}

Semantic roles & 50–950 ramp

primary
#21811A
secondary
#AD42B5
accent
#3EE9DE
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #21811A

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

Preview Lab → · Contrast checker → · Palette generator →

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