#21862D#21862D

#21862D is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.4% C 0.155 H 144.7°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#21862D
RGBrgb(33, 134, 45)
HSLhsl(127, 60%, 33%)
HSVhsv(127, 75%, 53%)
CMYKcmyk(75.4%, 0%, 66.4%, 47.5%)
CIE-LABlab(48.96, -46.94, 38.68)
CIE-LCHlch(48.96, 60.83, 140.51°)
OKLaboklab(54.45% -0.1269 0.0899)
OKLCHoklch(54.45% 0.155 144.7)
XYZxyz(9.6253, 17.5619, 5.3646)
Luminance0.1756 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21862D #86217A
analogous
#478621 #21862D #218660
triadic
#21862D #2D2186 #862D21
tetradic
#21862D #214786 #86217A #866021
square
#21862D #214786 #86217A #866021
split-complementary
#21862D #602186 #862147
monochromatic
#09240C #15551D #21862D #2DB73D #4ED35E

Accessibility & contrast

On white

4.65
#21862D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#21862D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #21862D
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21862D#FFFFFF#000000##FFFFFF
##21862D1.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887922
Deuteranopia (green-blind)
#7D7135
Tritanopia (blue-blind)
#008273
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #21862d;
/* rgb */ color: rgb(33, 134, 45);
/* oklch */ color: oklch(54.4% 0.155 144.7);
Tailwind
colors: {
  custom: {
    50: '#6daa6a',
    500: '#21862d',
    950: '#000000',
  },
}
SCSS
$custom: #21862d;
$custom-light: #6daa6a;
$custom-dark: #000000;
JSON
{
  "hex": "#21862d",
  "rgb": {
    "r": 33,
    "g": 134,
    "b": 45
  },
  "hsl": {
    "h": 127.129,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54448,
    "c": 0.15548,
    "h": 144.7
  },
  "luminance": 0.17563
}

Semantic roles & 50–950 ramp

primary
#21862D
secondary
#B74CAA
accent
#44D1E4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #21862D

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

Preview Lab → · Contrast checker → · Palette generator →

#21862D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva