#21864E#21864E

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

Color values

HEX#21864E
RGBrgb(33, 134, 78)
HSLhsl(147, 60%, 33%)
HSVhsv(147, 75%, 53%)
CMYKcmyk(75.4%, 0%, 41.8%, 47.5%)
CIE-LABlab(49.40, -41.79, 22.19)
CIE-LCHlch(49.40, 47.32, 152.03°)
OKLaboklab(54.96% -0.1126 0.0552)
OKLCHoklch(54.96% 0.125 153.9)
XYZxyz(10.5265, 17.9224, 10.1108)
Luminance0.1792 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21864E #862159
analogous
#268621 #21864E #218681
triadic
#21864E #4E2186 #864E21
tetradic
#21864E #212686 #862159 #868121
square
#21864E #212686 #862159 #868121
split-complementary
#21864E #812186 #862126
monochromatic
#092415 #155531 #21864E #2DB76B #4ED389

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21864E#FFFFFF#000000##000000
##21864E1.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)
#867B4A
Deuteranopia (green-blind)
#7A7252
Tritanopia (blue-blind)
#008478
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #21864e;
/* rgb */ color: rgb(33, 134, 78);
/* oklch */ color: oklch(55.0% 0.125 153.9);
Tailwind
colors: {
  custom: {
    50: '#6caa80',
    500: '#21864e',
    950: '#000000',
  },
}
SCSS
$custom: #21864e;
$custom-light: #6caa80;
$custom-dark: #000000;
JSON
{
  "hex": "#21864e",
  "rgb": {
    "r": 33,
    "g": 134,
    "b": 78
  },
  "hsl": {
    "h": 146.733,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54957,
    "c": 0.12543,
    "h": 153.9
  },
  "luminance": 0.17924
}

Semantic roles & 50–950 ramp

primary
#21864E
secondary
#B74C87
accent
#449DE4
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#08100A
muted
#7A7F7C

Preview Lab

Preview with #21864E

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

Preview Lab → · Contrast checker → · Palette generator →

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