#21811E#21811E

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

Color values

HEX#21811E
RGBrgb(33, 129, 30)
HSLhsl(118, 62%, 31%)
HSVhsv(118, 77%, 51%)
CMYKcmyk(74.4%, 0%, 76.7%, 49.4%)
CIE-LABlab(47.13, -46.67, 43.03)
CIE-LCHlch(47.13, 63.47, 137.32°)
OKLaboklab(52.89% -0.1268 0.0971)
OKLCHoklch(52.89% 0.16 142.6)
XYZxyz(8.7113, 16.1166, 3.8798)
Luminance0.1612 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21811E #7E1E81
analogous
#52811E #21811E #1E814C
triadic
#21811E #1E2181 #811E21
tetradic
#21811E #1E5281 #7E1E81 #814C1E
square
#21811E #1E5281 #7E1E81 #814C1E
split-complementary
#21811E #4C1E81 #811E52
monochromatic
#081E07 #144F12 #21811E #2EB32A #4AD446

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21811E#FFFFFF#000000##FFFFFF
##21811E1.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)
#84740A
Deuteranopia (green-blind)
#796D29
Tritanopia (blue-blind)
#007D6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #21811e;
/* rgb */ color: rgb(33, 129, 30);
/* oklch */ color: oklch(52.9% 0.160 142.6);
Tailwind
colors: {
  custom: {
    50: '#6da761',
    500: '#21811e',
    950: '#000000',
  },
}
SCSS
$custom: #21811e;
$custom-light: #6da761;
$custom-dark: #000000;
JSON
{
  "hex": "#21811e",
  "rgb": {
    "r": 33,
    "g": 129,
    "b": 30
  },
  "hsl": {
    "h": 118.182,
    "s": 62.264,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52888,
    "c": 0.15976,
    "h": 142.6
  },
  "luminance": 0.16118
}

Semantic roles & 50–950 ramp

primary
#21811E
secondary
#B147B4
accent
#42E5E0
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #21811E

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

Preview Lab → · Contrast checker → · Palette generator →

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