#21864D#21864D

#21864D is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.9% C 0.126 H 153.5°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#21864D
RGBrgb(33, 134, 77)
HSLhsl(146, 60%, 33%)
HSVhsv(146, 75%, 53%)
CMYKcmyk(75.4%, 0%, 42.5%, 47.5%)
CIE-LABlab(49.38, -41.99, 22.73)
CIE-LCHlch(49.38, 47.74, 151.57°)
OKLaboklab(54.94% -0.1131 0.0564)
OKLCHoklch(54.94% 0.126 153.5)
XYZxyz(10.4909, 17.9081, 9.9235)
Luminance0.1791 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21864D #86215A
analogous
#278621 #21864D #218680
triadic
#21864D #4D2186 #864D21
tetradic
#21864D #212786 #86215A #868021
square
#21864D #212786 #86215A #868021
split-complementary
#21864D #802186 #862127
monochromatic
#092415 #155531 #21864D #2DB769 #4ED388

Accessibility & contrast

On white

4.58
#21864D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#000000 on #21864D
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21864D#FFFFFF#000000##000000
##21864D1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21864d;
/* rgb */ color: rgb(33, 134, 77);
/* oklch */ color: oklch(54.9% 0.126 153.5);
Tailwind
colors: {
  custom: {
    50: '#6caa7f',
    500: '#21864d',
    950: '#000000',
  },
}
SCSS
$custom: #21864d;
$custom-light: #6caa7f;
$custom-dark: #000000;
JSON
{
  "hex": "#21864d",
  "rgb": {
    "r": 33,
    "g": 134,
    "b": 77
  },
  "hsl": {
    "h": 146.139,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54937,
    "c": 0.12641,
    "h": 153.5
  },
  "luminance": 0.17909
}

Semantic roles & 50–950 ramp

primary
#21864D
secondary
#B74C88
accent
#449EE4
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#08100A
muted
#7A7F7C

Preview Lab

Preview with #21864D

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

Preview Lab → · Contrast checker → · Palette generator →

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