#21804C#21804C

#21804C is a mid, moderate green. Relative luminance 0.163; OKLCH L 53.2% C 0.119 H 154.4°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#21804C
RGBrgb(33, 128, 76)
HSLhsl(147, 59%, 32%)
HSVhsv(147, 74%, 50%)
CMYKcmyk(74.2%, 0%, 40.6%, 49.8%)
CIE-LABlab(47.34, -39.77, 20.60)
CIE-LCHlch(47.34, 44.79, 152.62°)
OKLaboklab(53.25% -0.1073 0.0514)
OKLCHoklch(53.25% 0.119 154.4)
XYZxyz(9.6500, 16.2824, 9.4703)
Luminance0.1628 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21804C #802155
analogous
#268021 #21804C #21807C
triadic
#21804C #4C2180 #804C21
tetradic
#21804C #212680 #802155 #807C21
square
#21804C #212680 #802155 #807C21
split-complementary
#21804C #7C2180 #802126
monochromatic
#081F12 #144F2F #21804C #2EB169 #4BD187

Accessibility & contrast

On white

4.93
#21804C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#21804C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21804C
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21804C#FFFFFF#000000##FFFFFF
##21804C1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807548
Deuteranopia (green-blind)
#746D4F
Tritanopia (blue-blind)
#007E73
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #21804c;
/* rgb */ color: rgb(33, 128, 76);
/* oklch */ color: oklch(53.2% 0.119 154.4);
Tailwind
colors: {
  custom: {
    50: '#6ba67e',
    500: '#21804c',
    950: '#000000',
  },
}
SCSS
$custom: #21804c;
$custom-light: #6ba67e;
$custom-dark: #000000;
JSON
{
  "hex": "#21804c",
  "rgb": {
    "r": 33,
    "g": 128,
    "b": 76
  },
  "hsl": {
    "h": 147.158,
    "s": 59.006,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53247,
    "c": 0.11898,
    "h": 154.4
  },
  "luminance": 0.16283
}

Semantic roles & 50–950 ramp

primary
#21804C
secondary
#B34A83
accent
#469BE2
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #21804C

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

Preview Lab → · Contrast checker → · Palette generator →

#21804C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva