#21662C#21662C

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

Color values

HEX#21662C
RGBrgb(33, 102, 44)
HSLhsl(130, 51%, 26%)
HSVhsv(130, 68%, 40%)
CMYKcmyk(67.6%, 0%, 56.9%, 60%)
CIE-LABlab(37.86, -34.92, 26.33)
CIE-LCHlch(37.86, 43.73, 142.98°)
OKLaboklab(45.26% -0.0944 0.0631)
OKLCHoklch(45.26% 0.114 146.2)
XYZxyz(5.8328, 10.0073, 4.0066)
Luminance0.1001 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21662C #66215B
analogous
#396621 #21662C #21664F
triadic
#21662C #2C2166 #662C21
tetradic
#21662C #213966 #66215B #664F21
square
#21662C #213966 #66215B #664F21
split-complementary
#21662C #4F2166 #662139
monochromatic
#07170A #123818 #21662C #309440 #40C155

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21662C#FFFFFF#000000##FFFFFF
##21662C1.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)
#675D27
Deuteranopia (green-blind)
#5F5730
Tritanopia (blue-blind)
#0E6459
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #21662c;
/* rgb */ color: rgb(33, 102, 44);
/* oklch */ color: oklch(45.3% 0.114 146.2);
Tailwind
colors: {
  custom: {
    50: '#669267',
    500: '#21662c',
    950: '#000000',
  },
}
SCSS
$custom: #21662c;
$custom-light: #669267;
$custom-dark: #000000;
JSON
{
  "hex": "#21662c",
  "rgb": {
    "r": 33,
    "g": 102,
    "b": 44
  },
  "hsl": {
    "h": 129.565,
    "s": 51.111,
    "l": 26.471
  },
  "oklch": {
    "l": 0.45255,
    "c": 0.11353,
    "h": 146.2
  },
  "luminance": 0.10008
}

Semantic roles & 50–950 ramp

primary
#21662C
secondary
#9A498D
accent
#4DC4DB
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #21662C

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

Preview Lab → · Contrast checker → · Palette generator →

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