#21844B#21844B

#21844B is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.3% C 0.126 H 153.1°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#21844B
RGBrgb(33, 132, 75)
HSLhsl(145, 60%, 32%)
HSVhsv(145, 75%, 52%)
CMYKcmyk(75%, 0%, 43.2%, 48.2%)
CIE-LABlab(48.68, -41.58, 22.91)
CIE-LCHlch(48.68, 47.47, 151.14°)
OKLaboklab(54.34% -0.112 0.0568)
OKLCHoklch(54.34% 0.126 153.1)
XYZxyz(10.1476, 17.3327, 9.4660)
Luminance0.1733 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21844B #84215A
analogous
#288421 #21844B #21847D
triadic
#21844B #4B2184 #844B21
tetradic
#21844B #212884 #84215A #847D21
square
#21844B #212884 #84215A #847D21
split-complementary
#21844B #7D2184 #842128
monochromatic
#092213 #15532F #21844B #2DB567 #4DD286

Accessibility & contrast

On white

4.70
#21844B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#21844B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21844B
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21844B#FFFFFF#000000##FFFFFF
##21844B1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847947
Deuteranopia (green-blind)
#78704F
Tritanopia (blue-blind)
#008276
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #21844b;
/* rgb */ color: rgb(33, 132, 75);
/* oklch */ color: oklch(54.3% 0.126 153.1);
Tailwind
colors: {
  custom: {
    50: '#6ca97e',
    500: '#21844b',
    950: '#000000',
  },
}
SCSS
$custom: #21844b;
$custom-light: #6ca97e;
$custom-dark: #000000;
JSON
{
  "hex": "#21844b",
  "rgb": {
    "r": 33,
    "g": 132,
    "b": 75
  },
  "hsl": {
    "h": 145.455,
    "s": 60,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54341,
    "c": 0.12558,
    "h": 153.1
  },
  "luminance": 0.17334
}

Semantic roles & 50–950 ramp

primary
#21844B
secondary
#B64B88
accent
#45A0E3
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#08100A
muted
#7A7F7C

Preview Lab

Preview with #21844B

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

Preview Lab → · Contrast checker → · Palette generator →

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