#21802E#21802E

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

Color values

HEX#21802E
RGBrgb(33, 128, 46)
HSLhsl(128, 59%, 32%)
HSVhsv(128, 74%, 50%)
CMYKcmyk(74.2%, 0%, 64.1%, 49.8%)
CIE-LABlab(46.92, -44.67, 35.93)
CIE-LCHlch(46.92, 57.33, 141.20°)
OKLaboklab(52.76% -0.1207 0.0841)
OKLCHoklch(52.76% 0.147 145.1)
XYZxyz(8.8389, 15.9579, 5.1986)
Luminance0.1596 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21802E #802173
analogous
#448021 #21802E #21805E
triadic
#21802E #2E2180 #802E21
tetradic
#21802E #214480 #802173 #805E21
square
#21802E #214480 #802173 #805E21
split-complementary
#21802E #5E2180 #802144
monochromatic
#081F0B #144F1D #21802E #2EB13F #4BD15D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21802E#FFFFFF#000000##FFFFFF
##21802E1.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)
#827425
Deuteranopia (green-blind)
#776C35
Tritanopia (blue-blind)
#007D6F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #21802e;
/* rgb */ color: rgb(33, 128, 46);
/* oklch */ color: oklch(52.8% 0.147 145.1);
Tailwind
colors: {
  custom: {
    50: '#6ca66a',
    500: '#21802e',
    950: '#000000',
  },
}
SCSS
$custom: #21802e;
$custom-light: #6ca66a;
$custom-dark: #000000;
JSON
{
  "hex": "#21802e",
  "rgb": {
    "r": 33,
    "g": 128,
    "b": 46
  },
  "hsl": {
    "h": 128.211,
    "s": 59.006,
    "l": 31.569
  },
  "oklch": {
    "l": 0.52759,
    "c": 0.14709,
    "h": 145.1
  },
  "luminance": 0.15959
}

Semantic roles & 50–950 ramp

primary
#21802E
secondary
#B34AA4
accent
#46CDE2
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F07
muted
#7A7F7A

Preview Lab

Preview with #21802E

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

Preview Lab → · Contrast checker → · Palette generator →

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