#21671E#21671E

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

Color values

HEX#21671E
RGBrgb(33, 103, 30)
HSLhsl(118, 55%, 26%)
HSVhsv(118, 71%, 40%)
CMYKcmyk(68%, 0%, 70.9%, 59.6%)
CIE-LABlab(38.05, -37.14, 33.60)
CIE-LCHlch(38.05, 50.08, 137.86°)
OKLaboklab(45.37% -0.101 0.0774)
OKLCHoklch(45.37% 0.127 142.5)
XYZxyz(5.7115, 10.1170, 2.8798)
Luminance0.1012 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21671E #641E67
analogous
#45671E #21671E #1E673F
triadic
#21671E #1E2167 #671E21
tetradic
#21671E #1E4567 #641E67 #673F1E
square
#21671E #1E4567 #641E67 #673F1E
split-complementary
#21671E #3F1E67 #671E45
monochromatic
#081807 #123810 #21671E #30962C #40C63A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21671E#FFFFFF#000000##FFFFFF
##21671E1.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)
#695D14
Deuteranopia (green-blind)
#615725
Tritanopia (blue-blind)
#136458
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #21671e;
/* rgb */ color: rgb(33, 103, 30);
/* oklch */ color: oklch(45.4% 0.127 142.5);
Tailwind
colors: {
  custom: {
    50: '#66935e',
    500: '#21671e',
    950: '#000000',
  },
}
SCSS
$custom: #21671e;
$custom-light: #66935e;
$custom-dark: #000000;
JSON
{
  "hex": "#21671e",
  "rgb": {
    "r": 33,
    "g": 103,
    "b": 30
  },
  "hsl": {
    "h": 117.534,
    "s": 54.887,
    "l": 26.078
  },
  "oklch": {
    "l": 0.45366,
    "c": 0.12726,
    "h": 142.5
  },
  "luminance": 0.10118
}

Semantic roles & 50–950 ramp

primary
#21671E
secondary
#98459C
accent
#4ADED8
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #21671E

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

Preview Lab → · Contrast checker → · Palette generator →

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