#21864B#21864B

#21864B is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.9% C 0.128 H 152.7°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#21864B
RGBrgb(33, 134, 75)
HSLhsl(145, 60%, 33%)
HSVhsv(145, 75%, 53%)
CMYKcmyk(75.4%, 0%, 44%, 47.5%)
CIE-LABlab(49.35, -42.37, 23.79)
CIE-LCHlch(49.35, 48.59, 150.69°)
OKLaboklab(54.9% -0.1141 0.0588)
OKLCHoklch(54.9% 0.128 152.7)
XYZxyz(10.4214, 17.8803, 9.5573)
Luminance0.1788 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21864B #86215C
analogous
#2A8621 #21864B #21867D
triadic
#21864B #4B2186 #864B21
tetradic
#21864B #212A86 #86215C #867D21
square
#21864B #212A86 #86215C #867D21
split-complementary
#21864B #7D2186 #86212A
monochromatic
#092414 #155530 #21864B #2DB766 #4ED385

Accessibility & contrast

On white

4.59
#21864B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#21864B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #21864B
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21864B#FFFFFF#000000##FFFFFF
##21864B1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867A47
Deuteranopia (green-blind)
#7A724F
Tritanopia (blue-blind)
#008478
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #21864b;
/* rgb */ color: rgb(33, 134, 75);
/* oklch */ color: oklch(54.9% 0.128 152.7);
Tailwind
colors: {
  custom: {
    50: '#6caa7e',
    500: '#21864b',
    950: '#000000',
  },
}
SCSS
$custom: #21864b;
$custom-light: #6caa7e;
$custom-dark: #000000;
JSON
{
  "hex": "#21864b",
  "rgb": {
    "r": 33,
    "g": 134,
    "b": 75
  },
  "hsl": {
    "h": 144.95,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54898,
    "c": 0.12837,
    "h": 152.7
  },
  "luminance": 0.17882
}

Semantic roles & 50–950 ramp

primary
#21864B
secondary
#B74C8A
accent
#44A1E4
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#08100A
muted
#7A7F7C

Preview Lab

Preview with #21864B

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

Preview Lab → · Contrast checker → · Palette generator →

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