#21804B#21804B

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

Color values

HEX#21804B
RGBrgb(33, 128, 75)
HSLhsl(147, 59%, 32%)
HSVhsv(147, 74%, 50%)
CMYKcmyk(74.2%, 0%, 41.4%, 49.8%)
CIE-LABlab(47.32, -39.97, 21.14)
CIE-LCHlch(47.32, 45.22, 152.13°)
OKLaboklab(53.23% -0.1078 0.0526)
OKLCHoklch(53.23% 0.12 154)
XYZxyz(9.6155, 16.2686, 9.2886)
Luminance0.1627 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21804B #802156
analogous
#278021 #21804B #21807B
triadic
#21804B #4B2180 #804B21
tetradic
#21804B #212780 #802156 #807B21
square
#21804B #212780 #802156 #807B21
split-complementary
#21804B #7B2180 #802127
monochromatic
#081F12 #144F2E #21804B #2EB168 #4BD186

Accessibility & contrast

On white

4.94
#21804B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#21804B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21804B
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21804B#FFFFFF#000000##FFFFFF
##21804B1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21804b;
/* rgb */ color: rgb(33, 128, 75);
/* oklch */ color: oklch(53.2% 0.120 154.0);
Tailwind
colors: {
  custom: {
    50: '#6ba67e',
    500: '#21804b',
    950: '#000000',
  },
}
SCSS
$custom: #21804b;
$custom-light: #6ba67e;
$custom-dark: #000000;
JSON
{
  "hex": "#21804b",
  "rgb": {
    "r": 33,
    "g": 128,
    "b": 75
  },
  "hsl": {
    "h": 146.526,
    "s": 59.006,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53226,
    "c": 0.11997,
    "h": 154
  },
  "luminance": 0.1627
}

Semantic roles & 50–950 ramp

primary
#21804B
secondary
#B34A84
accent
#469DE2
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #21804B

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

Preview Lab → · Contrast checker → · Palette generator →

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