#21863F#21863F

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

Color values

HEX#21863F
RGBrgb(33, 134, 63)
HSLhsl(138, 60%, 33%)
HSVhsv(138, 75%, 53%)
CMYKcmyk(75.4%, 0%, 53%, 47.5%)
CIE-LABlab(49.17, -44.47, 30.03)
CIE-LCHlch(49.17, 53.66, 145.97°)
OKLaboklab(54.69% -0.1196 0.0726)
OKLCHoklch(54.69% 0.14 148.8)
XYZxyz(10.0487, 17.7313, 7.5945)
Luminance0.1773 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21863F #862168
analogous
#358621 #21863F #218672
triadic
#21863F #3F2186 #863F21
tetradic
#21863F #213586 #862168 #867221
square
#21863F #213586 #862168 #867221
split-complementary
#21863F #722186 #862135
monochromatic
#092411 #155528 #21863F #2DB756 #4ED376

Accessibility & contrast

On white

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

On black

4.55
#21863F on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##21863F#FFFFFF#000000##FFFFFF
##21863F1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21863f;
/* rgb */ color: rgb(33, 134, 63);
/* oklch */ color: oklch(54.7% 0.140 148.8);
Tailwind
colors: {
  custom: {
    50: '#6caa75',
    500: '#21863f',
    950: '#000000',
  },
}
SCSS
$custom: #21863f;
$custom-light: #6caa75;
$custom-dark: #000000;
JSON
{
  "hex": "#21863f",
  "rgb": {
    "r": 33,
    "g": 134,
    "b": 63
  },
  "hsl": {
    "h": 137.822,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54688,
    "c": 0.13992,
    "h": 148.8
  },
  "luminance": 0.17732
}

Semantic roles & 50–950 ramp

primary
#21863F
secondary
#B74C97
accent
#44B4E4
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #21863F

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

Preview Lab → · Contrast checker → · Palette generator →

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