#21844E#21844E

#21844E is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.4% C 0.123 H 154.4°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#21844E
RGBrgb(33, 132, 78)
HSLhsl(147, 60%, 32%)
HSVhsv(147, 75%, 52%)
CMYKcmyk(75%, 0%, 40.9%, 48.2%)
CIE-LABlab(48.73, -40.99, 21.31)
CIE-LCHlch(48.73, 46.20, 152.53°)
OKLaboklab(54.4% -0.1106 0.0531)
OKLCHoklch(54.4% 0.123 154.4)
XYZxyz(10.2527, 17.3747, 10.0196)
Luminance0.1738 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21844E #842157
analogous
#258421 #21844E #218480
triadic
#21844E #4E2184 #844E21
tetradic
#21844E #212584 #842157 #848021
square
#21844E #212584 #842157 #848021
split-complementary
#21844E #802184 #842125
monochromatic
#092214 #155331 #21844E #2DB56B #4DD28A

Accessibility & contrast

On white

4.69
#21844E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#21844E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21844E
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21844E#FFFFFF#000000##FFFFFF
##21844E1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84794A
Deuteranopia (green-blind)
#787052
Tritanopia (blue-blind)
#008276
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #21844e;
/* rgb */ color: rgb(33, 132, 78);
/* oklch */ color: oklch(54.4% 0.123 154.4);
Tailwind
colors: {
  custom: {
    50: '#6ca980',
    500: '#21844e',
    950: '#000000',
  },
}
SCSS
$custom: #21844e;
$custom-light: #6ca980;
$custom-dark: #000000;
JSON
{
  "hex": "#21844e",
  "rgb": {
    "r": 33,
    "g": 132,
    "b": 78
  },
  "hsl": {
    "h": 147.273,
    "s": 60,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54402,
    "c": 0.12264,
    "h": 154.4
  },
  "luminance": 0.17376
}

Semantic roles & 50–950 ramp

primary
#21844E
secondary
#B64B85
accent
#459BE3
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#08100A
muted
#7A7F7C

Preview Lab

Preview with #21844E

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

Preview Lab → · Contrast checker → · Palette generator →

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