#21672A#21672A

#21672A is a mid, moderate green. Relative luminance 0.102; OKLCH L 45.5% C 0.117 H 145.5°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#21672A
RGBrgb(33, 103, 42)
HSLhsl(128, 51%, 27%)
HSVhsv(128, 68%, 40%)
CMYKcmyk(68%, 0%, 59.2%, 59.6%)
CIE-LABlab(38.18, -35.63, 27.79)
CIE-LCHlch(38.18, 45.18, 142.04°)
OKLaboklab(45.52% -0.0963 0.0662)
OKLCHoklch(45.52% 0.117 145.5)
XYZxyz(5.8950, 10.1904, 3.8463)
Luminance0.1019 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21672A #67215E
analogous
#3B6721 #21672A #21674D
triadic
#21672A #2A2167 #672A21
tetradic
#21672A #213B67 #67215E #674D21
square
#21672A #213B67 #67215E #674D21
split-complementary
#21672A #4D2167 #67213B
monochromatic
#071709 #123917 #21672A #30953D #40C251

Accessibility & contrast

On white

6.91
#21672A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#21672A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21672A
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21672A#FFFFFF#000000##FFFFFF
##21672A1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695D24
Deuteranopia (green-blind)
#60582F
Tritanopia (blue-blind)
#0E6459
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #21672a;
/* rgb */ color: rgb(33, 103, 42);
/* oklch */ color: oklch(45.5% 0.117 145.5);
Tailwind
colors: {
  custom: {
    50: '#669365',
    500: '#21672a',
    950: '#000000',
  },
}
SCSS
$custom: #21672a;
$custom-light: #669365;
$custom-dark: #000000;
JSON
{
  "hex": "#21672a",
  "rgb": {
    "r": 33,
    "g": 103,
    "b": 42
  },
  "hsl": {
    "h": 127.714,
    "s": 51.471,
    "l": 26.667
  },
  "oklch": {
    "l": 0.45515,
    "c": 0.11688,
    "h": 145.5
  },
  "luminance": 0.10191
}

Semantic roles & 50–950 ramp

primary
#21672A
secondary
#9B4990
accent
#4DC9DB
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #21672A

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

Preview Lab → · Contrast checker → · Palette generator →

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