#21861C#21861C

#21861C is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.3% C 0.167 H 142.3°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#21861C
RGBrgb(33, 134, 28)
HSLhsl(117, 65%, 32%)
HSVhsv(117, 79%, 53%)
CMYKcmyk(75.4%, 0%, 79.1%, 47.5%)
CIE-LABlab(48.83, -48.53, 45.43)
CIE-LCHlch(48.83, 66.48, 136.89°)
OKLaboklab(54.3% -0.132 0.1019)
OKLCHoklch(54.3% 0.167 142.3)
XYZxyz(9.3613, 17.4563, 3.9744)
Luminance0.1746 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21861C #811C86
analogous
#56861C #21861C #1C864C
triadic
#21861C #1C2186 #861C21
tetradic
#21861C #1C5686 #811C86 #864C1C
square
#21861C #1C5686 #811C86 #864C1C
split-complementary
#21861C #4C1C86 #861C56
monochromatic
#082107 #155311 #21861C #2DB927 #4BD844

Accessibility & contrast

On white

4.68
#21861C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#21861C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21861C
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21861C#FFFFFF#000000##FFFFFF
##21861C1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897902
Deuteranopia (green-blind)
#7E7128
Tritanopia (blue-blind)
#008272
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #21861c;
/* rgb */ color: rgb(33, 134, 28);
/* oklch */ color: oklch(54.3% 0.167 142.3);
Tailwind
colors: {
  custom: {
    50: '#6eaa61',
    500: '#21861c',
    950: '#000000',
  },
}
SCSS
$custom: #21861c;
$custom-light: #6eaa61;
$custom-dark: #000000;
JSON
{
  "hex": "#21861c",
  "rgb": {
    "r": 33,
    "g": 134,
    "b": 28
  },
  "hsl": {
    "h": 117.17,
    "s": 65.432,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54298,
    "c": 0.16672,
    "h": 142.3
  },
  "luminance": 0.17457
}

Semantic roles & 50–950 ramp

primary
#21861C
secondary
#B445B9
accent
#3FE8E0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #21861C

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

Preview Lab → · Contrast checker → · Palette generator →

#21861C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva