#21844F#21844F

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

Color values

HEX#21844F
RGBrgb(33, 132, 79)
HSLhsl(148, 60%, 32%)
HSVhsv(148, 75%, 52%)
CMYKcmyk(75%, 0%, 40.2%, 48.2%)
CIE-LABlab(48.75, -40.79, 20.77)
CIE-LCHlch(48.75, 45.77, 153.01°)
OKLaboklab(54.42% -0.1101 0.0518)
OKLCHoklch(54.42% 0.122 154.8)
XYZxyz(10.2888, 17.3892, 10.2098)
Luminance0.1739 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21844F #842156
analogous
#248421 #21844F #218481
triadic
#21844F #4F2184 #844F21
tetradic
#21844F #212484 #842156 #848121
square
#21844F #212484 #842156 #848121
split-complementary
#21844F #812184 #842124
monochromatic
#092214 #155332 #21844F #2DB56C #4DD28B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21844F#FFFFFF#000000##FFFFFF
##21844F1.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)
#84794B
Deuteranopia (green-blind)
#787053
Tritanopia (blue-blind)
#008377
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #21844f;
/* rgb */ color: rgb(33, 132, 79);
/* oklch */ color: oklch(54.4% 0.122 154.8);
Tailwind
colors: {
  custom: {
    50: '#6ca981',
    500: '#21844f',
    950: '#000000',
  },
}
SCSS
$custom: #21844f;
$custom-light: #6ca981;
$custom-dark: #000000;
JSON
{
  "hex": "#21844f",
  "rgb": {
    "r": 33,
    "g": 132,
    "b": 79
  },
  "hsl": {
    "h": 147.879,
    "s": 60,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54422,
    "c": 0.12166,
    "h": 154.8
  },
  "luminance": 0.1739
}

Semantic roles & 50–950 ramp

primary
#21844F
secondary
#B64B84
accent
#459AE3
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#08100A
muted
#7A7F7C

Preview Lab

Preview with #21844F

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

Preview Lab → · Contrast checker → · Palette generator →

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