#21661E#21661E

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

Color values

HEX#21661E
RGBrgb(33, 102, 30)
HSLhsl(118, 55%, 26%)
HSVhsv(118, 71%, 40%)
CMYKcmyk(67.6%, 0%, 70.6%, 60%)
CIE-LABlab(37.70, -36.75, 33.22)
CIE-LCHlch(37.70, 49.54, 137.89°)
OKLaboklab(45.07% -0.1 0.0766)
OKLCHoklch(45.07% 0.126 142.5)
XYZxyz(5.6126, 9.9193, 2.8469)
Luminance0.0992 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21661E #631E66
analogous
#45661E #21661E #1E663F
triadic
#21661E #1E2166 #661E21
tetradic
#21661E #1E4566 #631E66 #663F1E
square
#21661E #1E4566 #631E66 #663F1E
split-complementary
#21661E #3F1E66 #661E45
monochromatic
#081807 #123710 #21661E #30952C #40C53A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21661E#FFFFFF#000000##FFFFFF
##21661E1.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)
#685C14
Deuteranopia (green-blind)
#605725
Tritanopia (blue-blind)
#136357
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #21661e;
/* rgb */ color: rgb(33, 102, 30);
/* oklch */ color: oklch(45.1% 0.126 142.5);
Tailwind
colors: {
  custom: {
    50: '#66925e',
    500: '#21661e',
    950: '#000000',
  },
}
SCSS
$custom: #21661e;
$custom-light: #66925e;
$custom-dark: #000000;
JSON
{
  "hex": "#21661e",
  "rgb": {
    "r": 33,
    "g": 102,
    "b": 30
  },
  "hsl": {
    "h": 117.5,
    "s": 54.545,
    "l": 25.882
  },
  "oklch": {
    "l": 0.45072,
    "c": 0.12593,
    "h": 142.5
  },
  "luminance": 0.0992
}

Semantic roles & 50–950 ramp

primary
#21661E
secondary
#97459B
accent
#4ADED8
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #21661E

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

Preview Lab → · Contrast checker → · Palette generator →

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