#21861D#21861D

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

Color values

HEX#21861D
RGBrgb(33, 134, 29)
HSLhsl(118, 64%, 32%)
HSVhsv(118, 78%, 53%)
CMYKcmyk(75.4%, 0%, 78.4%, 47.5%)
CIE-LABlab(48.84, -48.46, 45.09)
CIE-LCHlch(48.84, 66.19, 137.06°)
OKLaboklab(54.31% -0.1317 0.1013)
OKLCHoklch(54.31% 0.166 142.4)
XYZxyz(9.3735, 17.4612, 4.0385)
Luminance0.1746 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21861D #821D86
analogous
#56861D #21861D #1D864E
triadic
#21861D #1D2186 #861D21
tetradic
#21861D #1D5686 #821D86 #864E1D
square
#21861D #1D5686 #821D86 #864E1D
split-complementary
#21861D #4E1D86 #861D56
monochromatic
#082107 #155412 #21861D #2DB828 #4CD746

Accessibility & contrast

On white

4.67
#21861D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #21861D
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21861D#FFFFFF#000000##FFFFFF
##21861D1.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21861d;
/* rgb */ color: rgb(33, 134, 29);
/* oklch */ color: oklch(54.3% 0.166 142.4);
Tailwind
colors: {
  custom: {
    50: '#6eaa61',
    500: '#21861d',
    950: '#000000',
  },
}
SCSS
$custom: #21861d;
$custom-light: #6eaa61;
$custom-dark: #000000;
JSON
{
  "hex": "#21861d",
  "rgb": {
    "r": 33,
    "g": 134,
    "b": 29
  },
  "hsl": {
    "h": 117.714,
    "s": 64.417,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54305,
    "c": 0.16617,
    "h": 142.4
  },
  "luminance": 0.17462
}

Semantic roles & 50–950 ramp

primary
#21861D
secondary
#B446B9
accent
#40E7E1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #21861D

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

Preview Lab → · Contrast checker → · Palette generator →

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