#21851D#21851D

#21851D is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.0% C 0.165 H 142.4°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#21851D
RGBrgb(33, 133, 29)
HSLhsl(118, 64%, 32%)
HSVhsv(118, 78%, 52%)
CMYKcmyk(75.2%, 0%, 78.2%, 47.8%)
CIE-LABlab(48.49, -48.12, 44.75)
CIE-LCHlch(48.49, 65.71, 137.08°)
OKLaboklab(54.02% -0.1308 0.1006)
OKLCHoklch(54.02% 0.165 142.4)
XYZxyz(9.2359, 17.1861, 3.9926)
Luminance0.1719 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21851D #811D85
analogous
#55851D #21851D #1D854D
triadic
#21851D #1D2185 #851D21
tetradic
#21851D #1D5585 #811D85 #854D1D
square
#21851D #1D5585 #811D85 #854D1D
split-complementary
#21851D #4D1D85 #851D55
monochromatic
#082107 #155312 #21851D #2DB728 #4BD746

Accessibility & contrast

On white

4.73
#21851D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#21851D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21851D
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21851D#FFFFFF#000000##FFFFFF
##21851D1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887805
Deuteranopia (green-blind)
#7D7029
Tritanopia (blue-blind)
#008171
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #21851d;
/* rgb */ color: rgb(33, 133, 29);
/* oklch */ color: oklch(54.0% 0.165 142.4);
Tailwind
colors: {
  custom: {
    50: '#6eaa61',
    500: '#21851d',
    950: '#000000',
  },
}
SCSS
$custom: #21851d;
$custom-light: #6eaa61;
$custom-dark: #000000;
JSON
{
  "hex": "#21851d",
  "rgb": {
    "r": 33,
    "g": 133,
    "b": 29
  },
  "hsl": {
    "h": 117.692,
    "s": 64.198,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54021,
    "c": 0.16502,
    "h": 142.4
  },
  "luminance": 0.17187
}

Semantic roles & 50–950 ramp

primary
#21851D
secondary
#B446B8
accent
#41E7E1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #21851D

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

Preview Lab → · Contrast checker → · Palette generator →

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