#21672D#21672D

#21672D is a mid, moderate green. Relative luminance 0.102; OKLCH L 45.6% C 0.114 H 146.5°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#21672D
RGBrgb(33, 103, 45)
HSLhsl(130, 51%, 27%)
HSVhsv(130, 68%, 40%)
CMYKcmyk(68%, 0%, 56.3%, 59.6%)
CIE-LABlab(38.22, -35.17, 26.23)
CIE-LCHlch(38.22, 43.88, 143.28°)
OKLaboklab(45.56% -0.095 0.063)
OKLCHoklch(45.56% 0.114 146.5)
XYZxyz(5.9507, 10.2127, 4.1398)
Luminance0.1021 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21672D #67215B
analogous
#386721 #21672D #216750
triadic
#21672D #2D2167 #672D21
tetradic
#21672D #213867 #67215B #675021
square
#21672D #213867 #67215B #675021
split-complementary
#21672D #502167 #672138
monochromatic
#07170A #123919 #21672D #309541 #40C257

Accessibility & contrast

On white

6.90
#21672D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #21672D
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21672D#FFFFFF#000000##FFFFFF
##21672D1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685E28
Deuteranopia (green-blind)
#605831
Tritanopia (blue-blind)
#0D655A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #21672d;
/* rgb */ color: rgb(33, 103, 45);
/* oklch */ color: oklch(45.6% 0.114 146.5);
Tailwind
colors: {
  custom: {
    50: '#669367',
    500: '#21672d',
    950: '#000000',
  },
}
SCSS
$custom: #21672d;
$custom-light: #669367;
$custom-dark: #000000;
JSON
{
  "hex": "#21672d",
  "rgb": {
    "r": 33,
    "g": 103,
    "b": 45
  },
  "hsl": {
    "h": 130.286,
    "s": 51.471,
    "l": 26.667
  },
  "oklch": {
    "l": 0.45561,
    "c": 0.114,
    "h": 146.5
  },
  "luminance": 0.10213
}

Semantic roles & 50–950 ramp

primary
#21672D
secondary
#9B498D
accent
#4DC3DB
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #21672D

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

Preview Lab → · Contrast checker → · Palette generator →

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