#21662A#21662A

#21662A is a mid, moderate green. Relative luminance 0.100; OKLCH L 45.2% C 0.115 H 145.6°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#21662A
RGBrgb(33, 102, 42)
HSLhsl(128, 51%, 26%)
HSVhsv(128, 68%, 40%)
CMYKcmyk(67.6%, 0%, 58.8%, 60%)
CIE-LABlab(37.83, -35.22, 27.37)
CIE-LCHlch(37.83, 44.61, 142.14°)
OKLaboklab(45.22% -0.0952 0.0653)
OKLCHoklch(45.22% 0.115 145.6)
XYZxyz(5.7961, 9.9927, 3.8134)
Luminance0.0999 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21662A #66215D
analogous
#3B6621 #21662A #21664D
triadic
#21662A #2A2166 #662A21
tetradic
#21662A #213B66 #66215D #664D21
square
#21662A #213B66 #66215D #664D21
split-complementary
#21662A #4D2166 #66213B
monochromatic
#07170A #123817 #21662A #30943D #40C151

Accessibility & contrast

On white

7.00
#21662A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#21662A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21662A
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21662A#FFFFFF#000000##FFFFFF
##21662A1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685D24
Deuteranopia (green-blind)
#5F572F
Tritanopia (blue-blind)
#0F6359
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #21662a;
/* rgb */ color: rgb(33, 102, 42);
/* oklch */ color: oklch(45.2% 0.115 145.6);
Tailwind
colors: {
  custom: {
    50: '#669265',
    500: '#21662a',
    950: '#000000',
  },
}
SCSS
$custom: #21662a;
$custom-light: #669265;
$custom-dark: #000000;
JSON
{
  "hex": "#21662a",
  "rgb": {
    "r": 33,
    "g": 102,
    "b": 42
  },
  "hsl": {
    "h": 127.826,
    "s": 51.111,
    "l": 26.471
  },
  "oklch": {
    "l": 0.45224,
    "c": 0.11545,
    "h": 145.6
  },
  "luminance": 0.09993
}

Semantic roles & 50–950 ramp

primary
#21662A
secondary
#9A498F
accent
#4DC8DB
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #21662A

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

Preview Lab → · Contrast checker → · Palette generator →

#21662A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva