#21863B#21863B

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

Color values

HEX#21863B
RGBrgb(33, 134, 59)
HSLhsl(135, 60%, 33%)
HSVhsv(135, 75%, 53%)
CMYKcmyk(75.4%, 0%, 56%, 47.5%)
CIE-LABlab(49.12, -45.09, 32.04)
CIE-LCHlch(49.12, 55.32, 144.60°)
OKLaboklab(54.63% -0.1214 0.0768)
OKLCHoklch(54.63% 0.144 147.7)
XYZxyz(9.9410, 17.6882, 7.0271)
Luminance0.1769 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21863B #86216C
analogous
#398621 #21863B #21866E
triadic
#21863B #3B2186 #863B21
tetradic
#21863B #213986 #86216C #866E21
square
#21863B #213986 #86216C #866E21
split-complementary
#21863B #6E2186 #862139
monochromatic
#092410 #155525 #21863B #2DB751 #4ED370

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21863B#FFFFFF#000000##FFFFFF
##21863B1.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)
#887A34
Deuteranopia (green-blind)
#7C7141
Tritanopia (blue-blind)
#008375
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #21863b;
/* rgb */ color: rgb(33, 134, 59);
/* oklch */ color: oklch(54.6% 0.144 147.7);
Tailwind
colors: {
  custom: {
    50: '#6daa73',
    500: '#21863b',
    950: '#000000',
  },
}
SCSS
$custom: #21863b;
$custom-light: #6daa73;
$custom-dark: #000000;
JSON
{
  "hex": "#21863b",
  "rgb": {
    "r": 33,
    "g": 134,
    "b": 59
  },
  "hsl": {
    "h": 135.446,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54627,
    "c": 0.14362,
    "h": 147.7
  },
  "luminance": 0.17689
}

Semantic roles & 50–950 ramp

primary
#21863B
secondary
#B74C9B
accent
#44BBE4
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #21863B

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

Preview Lab → · Contrast checker → · Palette generator →

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