#21671C#21671C

#21671C is a mid, vivid green. Relative luminance 0.101; OKLCH L 45.3% C 0.129 H 142.2°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#21671C
RGBrgb(33, 103, 28)
HSLhsl(116, 57%, 26%)
HSVhsv(116, 73%, 40%)
CMYKcmyk(68%, 0%, 72.8%, 59.6%)
CIE-LABlab(38.03, -37.35, 34.49)
CIE-LCHlch(38.03, 50.83, 137.28°)
OKLaboklab(45.35% -0.1017 0.079)
OKLCHoklch(45.35% 0.129 142.2)
XYZxyz(5.6867, 10.1071, 2.7496)
Luminance0.1011 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21671C #621C67
analogous
#46671C #21671C #1C673C
triadic
#21671C #1C2167 #671C21
tetradic
#21671C #1C4667 #621C67 #673C1C
square
#21671C #1C4667 #621C67 #673C1C
split-complementary
#21671C #3C1C67 #671C46
monochromatic
#081807 #12370F #21671C #309729 #40C736

Accessibility & contrast

On white

6.95
#21671C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#21671C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21671C
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21671C#FFFFFF#000000##FFFFFF
##21671C1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D11
Deuteranopia (green-blind)
#615723
Tritanopia (blue-blind)
#136458
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #21671c;
/* rgb */ color: rgb(33, 103, 28);
/* oklch */ color: oklch(45.3% 0.129 142.2);
Tailwind
colors: {
  custom: {
    50: '#67935d',
    500: '#21671c',
    950: '#000000',
  },
}
SCSS
$custom: #21671c;
$custom-light: #67935d;
$custom-dark: #000000;
JSON
{
  "hex": "#21671c",
  "rgb": {
    "r": 33,
    "g": 103,
    "b": 28
  },
  "hsl": {
    "h": 116,
    "s": 57.252,
    "l": 25.686
  },
  "oklch": {
    "l": 0.45345,
    "c": 0.12878,
    "h": 142.2
  },
  "luminance": 0.10108
}

Semantic roles & 50–950 ramp

primary
#21671C
secondary
#96439C
accent
#47E1D6
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #21671C

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

Preview Lab → · Contrast checker → · Palette generator →

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