#21671B#21671B

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

Color values

HEX#21671B
RGBrgb(33, 103, 27)
HSLhsl(115, 58%, 25%)
HSVhsv(115, 74%, 40%)
CMYKcmyk(68%, 0%, 73.8%, 59.6%)
CIE-LABlab(38.03, -37.44, 34.92)
CIE-LCHlch(38.03, 51.20, 137.00°)
OKLaboklab(45.34% -0.102 0.0798)
OKLCHoklch(45.34% 0.13 142)
XYZxyz(5.6750, 10.1024, 2.6876)
Luminance0.1010 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21671B #611B67
analogous
#47671B #21671B #1B673B
triadic
#21671B #1B2167 #671B21
tetradic
#21671B #1B4767 #611B67 #673B1B
square
#21671B #1B4767 #611B67 #673B1B
split-complementary
#21671B #3B1B67 #671B47
monochromatic
#081806 #11370E #21671B #319728 #40C834

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21671B#FFFFFF#000000##FFFFFF
##21671B1.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)
#6A5D0F
Deuteranopia (green-blind)
#615722
Tritanopia (blue-blind)
#136458
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #21671b;
/* rgb */ color: rgb(33, 103, 27);
/* oklch */ color: oklch(45.3% 0.130 142.0);
Tailwind
colors: {
  custom: {
    50: '#67935c',
    500: '#21671b',
    950: '#000000',
  },
}
SCSS
$custom: #21671b;
$custom-light: #67935c;
$custom-dark: #000000;
JSON
{
  "hex": "#21671b",
  "rgb": {
    "r": 33,
    "g": 103,
    "b": 27
  },
  "hsl": {
    "h": 115.263,
    "s": 58.462,
    "l": 25.49
  },
  "oklch": {
    "l": 0.45336,
    "c": 0.12951,
    "h": 142
  },
  "luminance": 0.10103
}

Semantic roles & 50–950 ramp

primary
#21671B
secondary
#95429C
accent
#46E2D5
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #21671B

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

Preview Lab → · Contrast checker → · Palette generator →

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