#21801A#21801A

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

Color values

HEX#21801A
RGBrgb(33, 128, 26)
HSLhsl(116, 66%, 30%)
HSVhsv(116, 80%, 50%)
CMYKcmyk(74.2%, 0%, 79.7%, 49.8%)
CIE-LABlab(46.76, -46.63, 44.11)
CIE-LCHlch(46.76, 64.18, 136.59°)
OKLaboklab(52.57% -0.1269 0.0988)
OKLCHoklch(52.57% 0.161 142.1)
XYZxyz(8.5323, 15.8353, 3.5839)
Luminance0.1584 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21801A #791A80
analogous
#54801A #21801A #1A8046
triadic
#21801A #1A2180 #801A21
tetradic
#21801A #1A5480 #791A80 #80461A
square
#21801A #1A5480 #791A80 #80461A
split-complementary
#21801A #461A80 #801A54
monochromatic
#071A05 #144D10 #21801A #2EB324 #47D83D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21801A#FFFFFF#000000##FFFFFF
##21801A1.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)
#837301
Deuteranopia (green-blind)
#786C26
Tritanopia (blue-blind)
#027C6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #21801a;
/* rgb */ color: rgb(33, 128, 26);
/* oklch */ color: oklch(52.6% 0.161 142.1);
Tailwind
colors: {
  custom: {
    50: '#6da65f',
    500: '#21801a',
    950: '#000000',
  },
}
SCSS
$custom: #21801a;
$custom-light: #6da65f;
$custom-dark: #000000;
JSON
{
  "hex": "#21801a",
  "rgb": {
    "r": 33,
    "g": 128,
    "b": 26
  },
  "hsl": {
    "h": 115.882,
    "s": 66.234,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52573,
    "c": 0.16086,
    "h": 142.1
  },
  "luminance": 0.15836
}

Semantic roles & 50–950 ramp

primary
#21801A
secondary
#AC42B4
accent
#3FE9DD
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #21801A

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

Preview Lab → · Contrast checker → · Palette generator →

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