#21862C#21862C

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

Color values

HEX#21862C
RGBrgb(33, 134, 44)
HSLhsl(127, 60%, 33%)
HSVhsv(127, 75%, 53%)
CMYKcmyk(75.4%, 0%, 67.2%, 47.5%)
CIE-LABlab(48.95, -47.06, 39.12)
CIE-LCHlch(48.95, 61.20, 140.26°)
OKLaboklab(54.44% -0.1272 0.0907)
OKLCHoklch(54.44% 0.156 144.5)
XYZxyz(9.6063, 17.5543, 5.2644)
Luminance0.1756 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21862C #86217B
analogous
#488621 #21862C #21865F
triadic
#21862C #2C2186 #862C21
tetradic
#21862C #214886 #86217B #865F21
square
#21862C #214886 #86217B #865F21
split-complementary
#21862C #5F2186 #862148
monochromatic
#09240C #15551C #21862C #2DB73C #4ED35D

Accessibility & contrast

On white

4.66
#21862C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #21862C
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21862C#FFFFFF#000000##FFFFFF
##21862C1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21862c;
/* rgb */ color: rgb(33, 134, 44);
/* oklch */ color: oklch(54.4% 0.156 144.5);
Tailwind
colors: {
  custom: {
    50: '#6daa69',
    500: '#21862c',
    950: '#000000',
  },
}
SCSS
$custom: #21862c;
$custom-light: #6daa69;
$custom-dark: #000000;
JSON
{
  "hex": "#21862c",
  "rgb": {
    "r": 33,
    "g": 134,
    "b": 44
  },
  "hsl": {
    "h": 126.535,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54437,
    "c": 0.15625,
    "h": 144.5
  },
  "luminance": 0.17555
}

Semantic roles & 50–950 ramp

primary
#21862C
secondary
#B74CAB
accent
#44D2E4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #21862C

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

Preview Lab → · Contrast checker → · Palette generator →

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