#21671F#21671F

#21671F is a mid, vivid green. Relative luminance 0.101; OKLCH L 45.4% C 0.126 H 142.7°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#21671F
RGBrgb(33, 103, 31)
HSLhsl(118, 54%, 26%)
HSVhsv(118, 70%, 40%)
CMYKcmyk(68%, 0%, 69.9%, 59.6%)
CIE-LABlab(38.06, -37.03, 33.15)
CIE-LCHlch(38.06, 49.70, 138.16°)
OKLaboklab(45.38% -0.1007 0.0766)
OKLCHoklch(45.38% 0.126 142.7)
XYZxyz(5.7244, 10.1222, 2.9482)
Luminance0.1012 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21671F #651F67
analogous
#45671F #21671F #1F6741
triadic
#21671F #1F2167 #671F21
tetradic
#21671F #1F4567 #651F67 #67411F
square
#21671F #1F4567 #651F67 #67411F
split-complementary
#21671F #411F67 #671F45
monochromatic
#081807 #123811 #21671F #30962D #40C43C

Accessibility & contrast

On white

6.94
#21671F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #21671F
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21671F#FFFFFF#000000##FFFFFF
##21671F1.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695D16
Deuteranopia (green-blind)
#615725
Tritanopia (blue-blind)
#126458
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #21671f;
/* rgb */ color: rgb(33, 103, 31);
/* oklch */ color: oklch(45.4% 0.126 142.7);
Tailwind
colors: {
  custom: {
    50: '#66935e',
    500: '#21671f',
    950: '#000000',
  },
}
SCSS
$custom: #21671f;
$custom-light: #66935e;
$custom-dark: #000000;
JSON
{
  "hex": "#21671f",
  "rgb": {
    "r": 33,
    "g": 103,
    "b": 31
  },
  "hsl": {
    "h": 118.333,
    "s": 53.731,
    "l": 26.275
  },
  "oklch": {
    "l": 0.45376,
    "c": 0.12648,
    "h": 142.7
  },
  "luminance": 0.10123
}

Semantic roles & 50–950 ramp

primary
#21671F
secondary
#99469B
accent
#4BDDD9
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D05
muted
#7A7E79

Preview Lab

Preview with #21671F

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

Preview Lab → · Contrast checker → · Palette generator →

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