#21802B#21802B

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

Color values

HEX#21802B
RGBrgb(33, 128, 43)
HSLhsl(126, 59%, 32%)
HSVhsv(126, 74%, 50%)
CMYKcmyk(74.2%, 0%, 66.4%, 49.8%)
CIE-LABlab(46.89, -45.03, 37.30)
CIE-LCHlch(46.89, 58.48, 140.37°)
OKLaboklab(52.73% -0.1218 0.0867)
OKLCHoklch(52.73% 0.15 144.5)
XYZxyz(8.7818, 15.9351, 4.8980)
Luminance0.1594 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21802B #802176
analogous
#478021 #21802B #21805B
triadic
#21802B #2B2180 #802B21
tetradic
#21802B #214780 #802176 #805B21
square
#21802B #214780 #802176 #805B21
split-complementary
#21802B #5B2180 #802147
monochromatic
#081F0A #144F1B #21802B #2EB13B #4BD159

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21802B#FFFFFF#000000##FFFFFF
##21802B1.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)
#827421
Deuteranopia (green-blind)
#776C32
Tritanopia (blue-blind)
#007C6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #21802b;
/* rgb */ color: rgb(33, 128, 43);
/* oklch */ color: oklch(52.7% 0.150 144.5);
Tailwind
colors: {
  custom: {
    50: '#6ca668',
    500: '#21802b',
    950: '#000000',
  },
}
SCSS
$custom: #21802b;
$custom-light: #6ca668;
$custom-dark: #000000;
JSON
{
  "hex": "#21802b",
  "rgb": {
    "r": 33,
    "g": 128,
    "b": 43
  },
  "hsl": {
    "h": 126.316,
    "s": 59.006,
    "l": 31.569
  },
  "oklch": {
    "l": 0.52725,
    "c": 0.14951,
    "h": 144.5
  },
  "luminance": 0.15936
}

Semantic roles & 50–950 ramp

primary
#21802B
secondary
#B34AA8
accent
#46D2E2
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #21802B

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

Preview Lab → · Contrast checker → · Palette generator →

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