#22671F#22671F

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

Color values

HEX#22671F
RGBrgb(34, 103, 31)
HSLhsl(118, 54%, 26%)
HSVhsv(118, 70%, 40%)
CMYKcmyk(67%, 0%, 69.9%, 59.6%)
CIE-LABlab(38.09, -36.79, 33.19)
CIE-LCHlch(38.09, 49.55, 137.94°)
OKLaboklab(45.41% -0.1001 0.0766)
OKLCHoklch(45.41% 0.126 142.6)
XYZxyz(5.7569, 10.1389, 2.9497)
Luminance0.1014 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22671F #641F67
analogous
#46671F #22671F #1F6740
triadic
#22671F #1F2267 #671F22
tetradic
#22671F #1F4667 #641F67 #67401F
square
#22671F #1F4667 #641F67 #67401F
split-complementary
#22671F #401F67 #671F46
monochromatic
#081807 #123811 #22671F #32962D #42C43C

Accessibility & contrast

On white

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

On black

3.03
#22671F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##22671F#FFFFFF#000000##FFFFFF
##22671F1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #22671f;
/* rgb */ color: rgb(34, 103, 31);
/* oklch */ color: oklch(45.4% 0.126 142.6);
Tailwind
colors: {
  custom: {
    50: '#67935e',
    500: '#22671f',
    950: '#000000',
  },
}
SCSS
$custom: #22671f;
$custom-light: #67935e;
$custom-dark: #000000;
JSON
{
  "hex": "#22671f",
  "rgb": {
    "r": 34,
    "g": 103,
    "b": 31
  },
  "hsl": {
    "h": 117.5,
    "s": 53.731,
    "l": 26.275
  },
  "oklch": {
    "l": 0.45409,
    "c": 0.12606,
    "h": 142.6
  },
  "luminance": 0.1014
}

Semantic roles & 50–950 ramp

primary
#22671F
secondary
#98469B
accent
#4BDDD7
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D05
muted
#7A7E79

Preview Lab

Preview with #22671F

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

Preview Lab → · Contrast checker → · Palette generator →

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