#21661D#21661D

#21661D is a mid, vivid green. Relative luminance 0.099; OKLCH L 45.1% C 0.127 H 142.3°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#21661D
RGBrgb(33, 102, 29)
HSLhsl(117, 56%, 26%)
HSVhsv(117, 72%, 40%)
CMYKcmyk(67.6%, 0%, 71.6%, 60%)
CIE-LABlab(37.69, -36.85, 33.67)
CIE-LCHlch(37.69, 49.92, 137.59°)
OKLaboklab(45.06% -0.1003 0.0774)
OKLCHoklch(45.06% 0.127 142.3)
XYZxyz(5.6000, 9.9142, 2.7807)
Luminance0.0992 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21661D #621D66
analogous
#45661D #21661D #1D663D
triadic
#21661D #1D2166 #661D21
tetradic
#21661D #1D4566 #621D66 #663D1D
square
#21661D #1D4566 #621D66 #663D1D
split-complementary
#21661D #3D1D66 #661D45
monochromatic
#081807 #12360F #21661D #30962B #40C538

Accessibility & contrast

On white

7.04
#21661D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#21661D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21661D
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21661D#FFFFFF#000000##FFFFFF
##21661D1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685C13
Deuteranopia (green-blind)
#605724
Tritanopia (blue-blind)
#136357
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #21661d;
/* rgb */ color: rgb(33, 102, 29);
/* oklch */ color: oklch(45.1% 0.127 142.3);
Tailwind
colors: {
  custom: {
    50: '#66925d',
    500: '#21661d',
    950: '#000000',
  },
}
SCSS
$custom: #21661d;
$custom-light: #66925d;
$custom-dark: #000000;
JSON
{
  "hex": "#21661d",
  "rgb": {
    "r": 33,
    "g": 102,
    "b": 29
  },
  "hsl": {
    "h": 116.712,
    "s": 55.725,
    "l": 25.686
  },
  "oklch": {
    "l": 0.45062,
    "c": 0.12671,
    "h": 142.3
  },
  "luminance": 0.09915
}

Semantic roles & 50–950 ramp

primary
#21661D
secondary
#96449B
accent
#49DFD7
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #21661D

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

Preview Lab → · Contrast checker → · Palette generator →

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