#21802F#21802F

#21802F is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.8% C 0.146 H 145.3°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#21802F
RGBrgb(33, 128, 47)
HSLhsl(129, 59%, 32%)
HSVhsv(129, 74%, 50%)
CMYKcmyk(74.2%, 0%, 63.3%, 49.8%)
CIE-LABlab(46.93, -44.55, 35.46)
CIE-LCHlch(46.93, 56.94, 141.48°)
OKLaboklab(52.77% -0.1203 0.0832)
OKLCHoklch(52.77% 0.146 145.3)
XYZxyz(8.8589, 15.9659, 5.3036)
Luminance0.1597 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21802F #802172
analogous
#438021 #21802F #21805F
triadic
#21802F #2F2180 #802F21
tetradic
#21802F #214380 #802172 #805F21
square
#21802F #214380 #802172 #805F21
split-complementary
#21802F #5F2180 #802143
monochromatic
#081F0B #144F1D #21802F #2EB141 #4BD15F

Accessibility & contrast

On white

5.01
#21802F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #21802F
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21802F#FFFFFF#000000##FFFFFF
##21802F1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827426
Deuteranopia (green-blind)
#776C36
Tritanopia (blue-blind)
#007D6F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #21802f;
/* rgb */ color: rgb(33, 128, 47);
/* oklch */ color: oklch(52.8% 0.146 145.3);
Tailwind
colors: {
  custom: {
    50: '#6ca66b',
    500: '#21802f',
    950: '#000000',
  },
}
SCSS
$custom: #21802f;
$custom-light: #6ca66b;
$custom-dark: #000000;
JSON
{
  "hex": "#21802f",
  "rgb": {
    "r": 33,
    "g": 128,
    "b": 47
  },
  "hsl": {
    "h": 128.842,
    "s": 59.006,
    "l": 31.569
  },
  "oklch": {
    "l": 0.52771,
    "c": 0.14626,
    "h": 145.3
  },
  "luminance": 0.15967
}

Semantic roles & 50–950 ramp

primary
#21802F
secondary
#B34AA3
accent
#46CBE2
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F07
muted
#7A7F7A

Preview Lab

Preview with #21802F

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

Preview Lab → · Contrast checker → · Palette generator →

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