#21862E#21862E

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

Color values

HEX#21862E
RGBrgb(33, 134, 46)
HSLhsl(128, 60%, 33%)
HSVhsv(128, 75%, 53%)
CMYKcmyk(75.4%, 0%, 65.7%, 47.5%)
CIE-LABlab(48.97, -46.83, 38.23)
CIE-LCHlch(48.97, 60.45, 140.77°)
OKLaboklab(54.46% -0.1265 0.089)
OKLCHoklch(54.46% 0.155 144.9)
XYZxyz(9.6448, 17.5697, 5.4672)
Luminance0.1757 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21862E #862179
analogous
#468621 #21862E #218661
triadic
#21862E #2E2186 #862E21
tetradic
#21862E #214686 #862179 #866121
square
#21862E #214686 #862179 #866121
split-complementary
#21862E #612186 #862146
monochromatic
#09240C #15551D #21862E #2DB73F #4ED35F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21862E#FFFFFF#000000##FFFFFF
##21862E1.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)
#887923
Deuteranopia (green-blind)
#7D7136
Tritanopia (blue-blind)
#008274
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #21862e;
/* rgb */ color: rgb(33, 134, 46);
/* oklch */ color: oklch(54.5% 0.155 144.9);
Tailwind
colors: {
  custom: {
    50: '#6daa6b',
    500: '#21862e',
    950: '#000000',
  },
}
SCSS
$custom: #21862e;
$custom-light: #6daa6b;
$custom-dark: #000000;
JSON
{
  "hex": "#21862e",
  "rgb": {
    "r": 33,
    "g": 134,
    "b": 46
  },
  "hsl": {
    "h": 127.723,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54459,
    "c": 0.15469,
    "h": 144.9
  },
  "luminance": 0.17571
}

Semantic roles & 50–950 ramp

primary
#21862E
secondary
#B74CA9
accent
#44CFE4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #21862E

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

Preview Lab → · Contrast checker → · Palette generator →

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