#21863A#21863A

#21863A is a mid, vivid green. Relative luminance 0.177; OKLCH L 54.6% C 0.145 H 147.4°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#21863A
RGBrgb(33, 134, 58)
HSLhsl(135, 60%, 33%)
HSVhsv(135, 75%, 53%)
CMYKcmyk(75.4%, 0%, 56.7%, 47.5%)
CIE-LABlab(49.10, -45.24, 32.54)
CIE-LCHlch(49.10, 55.73, 144.27°)
OKLaboklab(54.61% -0.1218 0.0778)
OKLCHoklch(54.61% 0.145 147.4)
XYZxyz(9.9153, 17.6779, 6.8918)
Luminance0.1768 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21863A #86216D
analogous
#3B8621 #21863A #21866C
triadic
#21863A #3A2186 #863A21
tetradic
#21863A #213B86 #86216D #866C21
square
#21863A #213B86 #86216D #866C21
split-complementary
#21863A #6C2186 #86213B
monochromatic
#09240F #155525 #21863A #2DB74F #4ED36F

Accessibility & contrast

On white

4.63
#21863A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#21863A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #21863A
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21863A#FFFFFF#000000##FFFFFF
##21863A1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887A33
Deuteranopia (green-blind)
#7C7140
Tritanopia (blue-blind)
#008375
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #21863a;
/* rgb */ color: rgb(33, 134, 58);
/* oklch */ color: oklch(54.6% 0.145 147.4);
Tailwind
colors: {
  custom: {
    50: '#6daa72',
    500: '#21863a',
    950: '#000000',
  },
}
SCSS
$custom: #21863a;
$custom-light: #6daa72;
$custom-dark: #000000;
JSON
{
  "hex": "#21863a",
  "rgb": {
    "r": 33,
    "g": 134,
    "b": 58
  },
  "hsl": {
    "h": 134.851,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54612,
    "c": 0.14453,
    "h": 147.4
  },
  "luminance": 0.17679
}

Semantic roles & 50–950 ramp

primary
#21863A
secondary
#B74C9C
accent
#44BCE4
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #21863A

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

Preview Lab → · Contrast checker → · Palette generator →

#21863A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva