#21802A#21802A

#21802A is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.7% C 0.150 H 144.4°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#21802A
RGBrgb(33, 128, 42)
HSLhsl(126, 59%, 32%)
HSVhsv(126, 74%, 50%)
CMYKcmyk(74.2%, 0%, 67.2%, 49.8%)
CIE-LABlab(46.88, -45.15, 37.75)
CIE-LCHlch(46.88, 58.85, 140.10°)
OKLaboklab(52.71% -0.1221 0.0876)
OKLCHoklch(52.71% 0.15 144.4)
XYZxyz(8.7637, 15.9279, 4.8026)
Luminance0.1593 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21802A #802177
analogous
#488021 #21802A #21805A
triadic
#21802A #2A2180 #802A21
tetradic
#21802A #214880 #802177 #805A21
square
#21802A #214880 #802177 #805A21
split-complementary
#21802A #5A2180 #802148
monochromatic
#081F0A #144F1A #21802A #2EB13A #4BD158

Accessibility & contrast

On white

5.02
#21802A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#21802A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21802A
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21802A#FFFFFF#000000##FFFFFF
##21802A1.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82741F
Deuteranopia (green-blind)
#776C32
Tritanopia (blue-blind)
#007C6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #21802a;
/* rgb */ color: rgb(33, 128, 42);
/* oklch */ color: oklch(52.7% 0.150 144.4);
Tailwind
colors: {
  custom: {
    50: '#6ca668',
    500: '#21802a',
    950: '#000000',
  },
}
SCSS
$custom: #21802a;
$custom-light: #6ca668;
$custom-dark: #000000;
JSON
{
  "hex": "#21802a",
  "rgb": {
    "r": 33,
    "g": 128,
    "b": 42
  },
  "hsl": {
    "h": 125.684,
    "s": 59.006,
    "l": 31.569
  },
  "oklch": {
    "l": 0.52714,
    "c": 0.15028,
    "h": 144.4
  },
  "luminance": 0.15929
}

Semantic roles & 50–950 ramp

primary
#21802A
secondary
#B34AA9
accent
#46D3E2
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #21802A

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

Preview Lab → · Contrast checker → · Palette generator →

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