#21861B#21861B

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

Color values

HEX#21861B
RGBrgb(33, 134, 27)
HSLhsl(117, 66%, 32%)
HSVhsv(117, 80%, 53%)
CMYKcmyk(75.4%, 0%, 79.9%, 47.5%)
CIE-LABlab(48.82, -48.60, 45.77)
CIE-LCHlch(48.82, 66.76, 136.72°)
OKLaboklab(54.29% -0.1322 0.1024)
OKLCHoklch(54.29% 0.167 142.2)
XYZxyz(9.3496, 17.4516, 3.9125)
Luminance0.1745 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21861B #801B86
analogous
#57861B #21861B #1B864B
triadic
#21861B #1B2186 #861B21
tetradic
#21861B #1B5786 #801B86 #864B1B
square
#21861B #1B5786 #801B86 #864B1B
split-complementary
#21861B #4B1B86 #861B57
monochromatic
#082006 #145311 #21861B #2EB925 #4BD942

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21861B#FFFFFF#000000##FFFFFF
##21861B1.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)
#897900
Deuteranopia (green-blind)
#7E7127
Tritanopia (blue-blind)
#008272
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #21861b;
/* rgb */ color: rgb(33, 134, 27);
/* oklch */ color: oklch(54.3% 0.167 142.2);
Tailwind
colors: {
  custom: {
    50: '#6eaa60',
    500: '#21861b',
    950: '#000000',
  },
}
SCSS
$custom: #21861b;
$custom-light: #6eaa60;
$custom-dark: #000000;
JSON
{
  "hex": "#21861b",
  "rgb": {
    "r": 33,
    "g": 134,
    "b": 27
  },
  "hsl": {
    "h": 116.636,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54291,
    "c": 0.16726,
    "h": 142.2
  },
  "luminance": 0.17453
}

Semantic roles & 50–950 ramp

primary
#21861B
secondary
#B344B9
accent
#3EE9E0
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #21861B

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

Preview Lab → · Contrast checker → · Palette generator →

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