#21801D#21801D

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

Color values

HEX#21801D
RGBrgb(33, 128, 29)
HSLhsl(118, 63%, 31%)
HSVhsv(118, 77%, 50%)
CMYKcmyk(74.2%, 0%, 77.3%, 49.8%)
CIE-LABlab(46.78, -46.40, 43.05)
CIE-LCHlch(46.78, 63.29, 137.15°)
OKLaboklab(52.6% -0.1262 0.097)
OKLCHoklch(52.6% 0.159 142.4)
XYZxyz(8.5676, 15.8494, 3.7699)
Luminance0.1585 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21801D #7C1D80
analogous
#52801D #21801D #1D804A
triadic
#21801D #1D2180 #801D21
tetradic
#21801D #1D5280 #7C1D80 #804A1D
square
#21801D #1D5280 #7C1D80 #804A1D
split-complementary
#21801D #4A1D80 #801D52
monochromatic
#071C06 #144E12 #21801D #2EB228 #49D443

Accessibility & contrast

On white

5.04
#21801D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #21801D
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21801D#FFFFFF#000000##FFFFFF
##21801D1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21801d;
/* rgb */ color: rgb(33, 128, 29);
/* oklch */ color: oklch(52.6% 0.159 142.4);
Tailwind
colors: {
  custom: {
    50: '#6da660',
    500: '#21801d',
    950: '#000000',
  },
}
SCSS
$custom: #21801d;
$custom-light: #6da660;
$custom-dark: #000000;
JSON
{
  "hex": "#21801d",
  "rgb": {
    "r": 33,
    "g": 128,
    "b": 29
  },
  "hsl": {
    "h": 117.576,
    "s": 63.057,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52595,
    "c": 0.15917,
    "h": 142.4
  },
  "luminance": 0.1585
}

Semantic roles & 50–950 ramp

primary
#21801D
secondary
#AF45B3
accent
#42E6DF
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #21801D

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

Preview Lab → · Contrast checker → · Palette generator →

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