#21801E#21801E

#21801E is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.6% C 0.159 H 142.6°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#21801E
RGBrgb(33, 128, 30)
HSLhsl(118, 62%, 31%)
HSVhsv(118, 77%, 50%)
CMYKcmyk(74.2%, 0%, 76.6%, 49.8%)
CIE-LABlab(46.78, -46.32, 42.68)
CIE-LCHlch(46.78, 62.99, 137.34°)
OKLaboklab(52.6% -0.1259 0.0964)
OKLCHoklch(52.6% 0.159 142.6)
XYZxyz(8.5802, 15.8545, 3.8361)
Luminance0.1585 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21801E #7D1E80
analogous
#52801E #21801E #1E804C
triadic
#21801E #1E2180 #801E21
tetradic
#21801E #1E5280 #7D1E80 #804C1E
square
#21801E #1E5280 #7D1E80 #804C1E
split-complementary
#21801E #4C1E80 #801E52
monochromatic
#071D07 #144E12 #21801E #2EB22A #49D345

Accessibility & contrast

On white

5.03
#21801E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#21801E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21801E
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21801E#FFFFFF#000000##FFFFFF
##21801E1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83730B
Deuteranopia (green-blind)
#786C28
Tritanopia (blue-blind)
#017C6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #21801e;
/* rgb */ color: rgb(33, 128, 30);
/* oklch */ color: oklch(52.6% 0.159 142.6);
Tailwind
colors: {
  custom: {
    50: '#6da661',
    500: '#21801e',
    950: '#000000',
  },
}
SCSS
$custom: #21801e;
$custom-light: #6da661;
$custom-dark: #000000;
JSON
{
  "hex": "#21801e",
  "rgb": {
    "r": 33,
    "g": 128,
    "b": 30
  },
  "hsl": {
    "h": 118.163,
    "s": 62.025,
    "l": 30.98
  },
  "oklch": {
    "l": 0.52602,
    "c": 0.15857,
    "h": 142.6
  },
  "luminance": 0.15855
}

Semantic roles & 50–950 ramp

primary
#21801E
secondary
#B047B3
accent
#43E5E0
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #21801E

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

Preview Lab → · Contrast checker → · Palette generator →

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