#21672E#21672E

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

Color values

HEX#21672E
RGBrgb(33, 103, 46)
HSLhsl(131, 51%, 27%)
HSVhsv(131, 68%, 40%)
CMYKcmyk(68%, 0%, 55.3%, 59.6%)
CIE-LABlab(38.24, -35.02, 25.71)
CIE-LCHlch(38.24, 43.44, 143.72°)
OKLaboklab(45.58% -0.0946 0.0619)
OKLCHoklch(45.58% 0.113 146.8)
XYZxyz(5.9702, 10.2205, 4.2424)
Luminance0.1022 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21672E #67215A
analogous
#376721 #21672E #216751
triadic
#21672E #2E2167 #672E21
tetradic
#21672E #213767 #67215A #675121
square
#21672E #213767 #67215A #675121
split-complementary
#21672E #512167 #672137
monochromatic
#07170A #123919 #21672E #309543 #40C259

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21672E#FFFFFF#000000##FFFFFF
##21672E1.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)
#685E29
Deuteranopia (green-blind)
#605832
Tritanopia (blue-blind)
#0C655A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #21672e;
/* rgb */ color: rgb(33, 103, 46);
/* oklch */ color: oklch(45.6% 0.113 146.8);
Tailwind
colors: {
  custom: {
    50: '#669368',
    500: '#21672e',
    950: '#000000',
  },
}
SCSS
$custom: #21672e;
$custom-light: #669368;
$custom-dark: #000000;
JSON
{
  "hex": "#21672e",
  "rgb": {
    "r": 33,
    "g": 103,
    "b": 46
  },
  "hsl": {
    "h": 131.143,
    "s": 51.471,
    "l": 26.667
  },
  "oklch": {
    "l": 0.45577,
    "c": 0.11301,
    "h": 146.8
  },
  "luminance": 0.10221
}

Semantic roles & 50–950 ramp

primary
#21672E
secondary
#9B498C
accent
#4DC1DB
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #21672E

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

Preview Lab → · Contrast checker → · Palette generator →

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