#21801C#21801C

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

Color values

HEX#21801C
RGBrgb(33, 128, 28)
HSLhsl(117, 64%, 31%)
HSVhsv(117, 78%, 50%)
CMYKcmyk(74.2%, 0%, 78.1%, 49.8%)
CIE-LABlab(46.77, -46.48, 43.41)
CIE-LCHlch(46.77, 63.60, 136.96°)
OKLaboklab(52.59% -0.1264 0.0976)
OKLCHoklch(52.59% 0.16 142.3)
XYZxyz(8.5555, 15.8446, 3.7058)
Luminance0.1585 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21801C #7B1C80
analogous
#53801C #21801C #1C8049
triadic
#21801C #1C2180 #801C21
tetradic
#21801C #1C5380 #7B1C80 #80491C
square
#21801C #1C5380 #7B1C80 #80491C
split-complementary
#21801C #491C80 #801C53
monochromatic
#071C06 #144E11 #21801C #2EB227 #48D541

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21801C#FFFFFF#000000##FFFFFF
##21801C1.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)
#837306
Deuteranopia (green-blind)
#786C27
Tritanopia (blue-blind)
#017C6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #21801c;
/* rgb */ color: rgb(33, 128, 28);
/* oklch */ color: oklch(52.6% 0.160 142.3);
Tailwind
colors: {
  custom: {
    50: '#6da660',
    500: '#21801c',
    950: '#000000',
  },
}
SCSS
$custom: #21801c;
$custom-light: #6da660;
$custom-dark: #000000;
JSON
{
  "hex": "#21801c",
  "rgb": {
    "r": 33,
    "g": 128,
    "b": 28
  },
  "hsl": {
    "h": 117,
    "s": 64.103,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52587,
    "c": 0.15974,
    "h": 142.3
  },
  "luminance": 0.15846
}

Semantic roles & 50–950 ramp

primary
#21801C
secondary
#AE44B3
accent
#41E7DF
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #21801C

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

Preview Lab → · Contrast checker → · Palette generator →

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