#22671B#22671B

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

Color values

HEX#22671B
RGBrgb(34, 103, 27)
HSLhsl(114, 58%, 25%)
HSVhsv(114, 74%, 40%)
CMYKcmyk(67%, 0%, 73.8%, 59.6%)
CIE-LABlab(38.06, -37.20, 34.96)
CIE-LCHlch(38.06, 51.05, 136.78°)
OKLaboklab(45.37% -0.1014 0.0798)
OKLCHoklch(45.37% 0.129 141.8)
XYZxyz(5.7075, 10.1191, 2.6891)
Luminance0.1012 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22671B #601B67
analogous
#48671B #22671B #1B673A
triadic
#22671B #1B2267 #671B22
tetradic
#22671B #1B4867 #601B67 #673A1B
square
#22671B #1B4867 #601B67 #673A1B
split-complementary
#22671B #3A1B67 #671B48
monochromatic
#081806 #12370E #22671B #329728 #42C834

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #22671b;
/* rgb */ color: rgb(34, 103, 27);
/* oklch */ color: oklch(45.4% 0.129 141.8);
Tailwind
colors: {
  custom: {
    50: '#67935c',
    500: '#22671b',
    950: '#000000',
  },
}
SCSS
$custom: #22671b;
$custom-light: #67935c;
$custom-dark: #000000;
JSON
{
  "hex": "#22671b",
  "rgb": {
    "r": 34,
    "g": 103,
    "b": 27
  },
  "hsl": {
    "h": 114.474,
    "s": 58.462,
    "l": 25.49
  },
  "oklch": {
    "l": 0.45369,
    "c": 0.12908,
    "h": 141.8
  },
  "luminance": 0.1012
}

Semantic roles & 50–950 ramp

primary
#22671B
secondary
#94429C
accent
#46E2D3
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #22671B

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

Preview Lab → · Contrast checker → · Palette generator →

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