#22671C#22671C

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

Color values

HEX#22671C
RGBrgb(34, 103, 28)
HSLhsl(115, 57%, 26%)
HSVhsv(115, 73%, 40%)
CMYKcmyk(67%, 0%, 72.8%, 59.6%)
CIE-LABlab(38.06, -37.10, 34.53)
CIE-LCHlch(38.06, 50.68, 137.06°)
OKLaboklab(45.38% -0.1011 0.0791)
OKLCHoklch(45.38% 0.128 142)
XYZxyz(5.7192, 10.1239, 2.7511)
Luminance0.1012 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22671C #611C67
analogous
#47671C #22671C #1C673B
triadic
#22671C #1C2267 #671C22
tetradic
#22671C #1C4767 #611C67 #673B1C
square
#22671C #1C4767 #611C67 #673B1C
split-complementary
#22671C #3B1C67 #671C47
monochromatic
#081807 #12370F #22671C #329729 #42C736

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##22671C#FFFFFF#000000##FFFFFF
##22671C1.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)
#6A5D11
Deuteranopia (green-blind)
#615723
Tritanopia (blue-blind)
#156458
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #22671c;
/* rgb */ color: rgb(34, 103, 28);
/* oklch */ color: oklch(45.4% 0.128 142.0);
Tailwind
colors: {
  custom: {
    50: '#67935d',
    500: '#22671c',
    950: '#000000',
  },
}
SCSS
$custom: #22671c;
$custom-light: #67935d;
$custom-dark: #000000;
JSON
{
  "hex": "#22671c",
  "rgb": {
    "r": 34,
    "g": 103,
    "b": 28
  },
  "hsl": {
    "h": 115.2,
    "s": 57.252,
    "l": 25.686
  },
  "oklch": {
    "l": 0.45379,
    "c": 0.12835,
    "h": 142
  },
  "luminance": 0.10124
}

Semantic roles & 50–950 ramp

primary
#22671C
secondary
#95439C
accent
#47E1D4
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #22671C

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

Preview Lab → · Contrast checker → · Palette generator →

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