#21863E#21863E

#21863E is a mid, vivid green. Relative luminance 0.177; OKLCH L 54.7% C 0.141 H 148.5°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#21863E
RGBrgb(33, 134, 62)
HSLhsl(137, 60%, 33%)
HSVhsv(137, 75%, 53%)
CMYKcmyk(75.4%, 0%, 53.7%, 47.5%)
CIE-LABlab(49.16, -44.63, 30.54)
CIE-LCHlch(49.16, 54.08, 145.62°)
OKLaboklab(54.67% -0.1201 0.0736)
OKLCHoklch(54.67% 0.141 148.5)
XYZxyz(10.0210, 17.7202, 7.4487)
Luminance0.1772 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21863E #862169
analogous
#368621 #21863E #218671
triadic
#21863E #3E2186 #863E21
tetradic
#21863E #213686 #862169 #867121
square
#21863E #213686 #862169 #867121
split-complementary
#21863E #712186 #862136
monochromatic
#092411 #155527 #21863E #2DB755 #4ED374

Accessibility & contrast

On white

4.62
#21863E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #21863E
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21863E#FFFFFF#000000##FFFFFF
##21863E1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877A38
Deuteranopia (green-blind)
#7B7243
Tritanopia (blue-blind)
#008376
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #21863e;
/* rgb */ color: rgb(33, 134, 62);
/* oklch */ color: oklch(54.7% 0.141 148.5);
Tailwind
colors: {
  custom: {
    50: '#6caa75',
    500: '#21863e',
    950: '#000000',
  },
}
SCSS
$custom: #21863e;
$custom-light: #6caa75;
$custom-dark: #000000;
JSON
{
  "hex": "#21863e",
  "rgb": {
    "r": 33,
    "g": 134,
    "b": 62
  },
  "hsl": {
    "h": 137.228,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54672,
    "c": 0.14086,
    "h": 148.5
  },
  "luminance": 0.17721
}

Semantic roles & 50–950 ramp

primary
#21863E
secondary
#B74C98
accent
#44B6E4
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #21863E

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

Preview Lab → · Contrast checker → · Palette generator →

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