#21673E#21673E

#21673E is a mid, moderate green. Relative luminance 0.104; OKLCH L 45.9% C 0.097 H 154.0°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#21673E
RGBrgb(33, 103, 62)
HSLhsl(145, 51%, 27%)
HSVhsv(145, 68%, 40%)
CMYKcmyk(68%, 0%, 39.8%, 59.6%)
CIE-LABlab(38.50, -32.07, 16.92)
CIE-LCHlch(38.50, 36.26, 152.18°)
OKLaboklab(45.88% -0.0868 0.0423)
OKLCHoklch(45.88% 0.097 154)
XYZxyz(6.3464, 10.3710, 6.2238)
Luminance0.1037 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21673E #67214A
analogous
#276721 #21673E #216761
triadic
#21673E #3E2167 #673E21
tetradic
#21673E #212767 #67214A #676121
square
#21673E #212767 #67214A #676121
split-complementary
#21673E #612167 #672127
monochromatic
#07170E #123922 #21673E #30955A #40C276

Accessibility & contrast

On white

6.83
#21673E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#21673E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21673E
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21673E#FFFFFF#000000##FFFFFF
##21673E1.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675E3B
Deuteranopia (green-blind)
#5E5841
Tritanopia (blue-blind)
#00665D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #21673e;
/* rgb */ color: rgb(33, 103, 62);
/* oklch */ color: oklch(45.9% 0.097 154.0);
Tailwind
colors: {
  custom: {
    50: '#659373',
    500: '#21673e',
    950: '#000000',
  },
}
SCSS
$custom: #21673e;
$custom-light: #659373;
$custom-dark: #000000;
JSON
{
  "hex": "#21673e",
  "rgb": {
    "r": 33,
    "g": 103,
    "b": 62
  },
  "hsl": {
    "h": 144.857,
    "s": 51.471,
    "l": 26.667
  },
  "oklch": {
    "l": 0.45881,
    "c": 0.09654,
    "h": 154
  },
  "luminance": 0.10372
}

Semantic roles & 50–950 ramp

primary
#21673E
secondary
#9B4979
accent
#4DA0DB
background
#F6F9F7
surface
#EBF1ED
border
#C6CBC8
text
#060D08
muted
#7A7E7B

Preview Lab

Preview with #21673E

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

Preview Lab → · Contrast checker → · Palette generator →

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