#22711B#22711B

#22711B is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.3% C 0.142 H 141.9°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#22711B
RGBrgb(34, 113, 27)
HSLhsl(115, 61%, 27%)
HSVhsv(115, 76%, 44%)
CMYKcmyk(69.9%, 0%, 76.1%, 55.7%)
CIE-LABlab(41.58, -41.00, 38.59)
CIE-LCHlch(41.58, 56.30, 136.73°)
OKLaboklab(48.29% -0.1117 0.0874)
OKLCHoklch(48.29% 0.142 141.9)
XYZxyz(6.7623, 12.2288, 3.0407)
Luminance0.1223 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22711B #6A1B71
analogous
#4D711B #22711B #1B713F
triadic
#22711B #1B2271 #711B22
tetradic
#22711B #1B4D71 #6A1B71 #713F1B
square
#22711B #1B4D71 #6A1B71 #713F1B
split-complementary
#22711B #3F1B71 #711B4D
monochromatic
#071906 #13400F #22711B #31A227 #44CF37

Accessibility & contrast

On white

6.09
#22711B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#22711B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #22711B
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22711B#FFFFFF#000000##FFFFFF
##22711B1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74660C
Deuteranopia (green-blind)
#6A6024
Tritanopia (blue-blind)
#116D60
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #22711b;
/* rgb */ color: rgb(34, 113, 27);
/* oklch */ color: oklch(48.3% 0.142 141.9);
Tailwind
colors: {
  custom: {
    50: '#699b5d',
    500: '#22711b',
    950: '#000000',
  },
}
SCSS
$custom: #22711b;
$custom-light: #699b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#22711b",
  "rgb": {
    "r": 34,
    "g": 113,
    "b": 27
  },
  "hsl": {
    "h": 115.116,
    "s": 61.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.48285,
    "c": 0.14186,
    "h": 141.9
  },
  "luminance": 0.12229
}

Semantic roles & 50–950 ramp

primary
#22711B
secondary
#9E42A6
accent
#43E5D7
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #22711B

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

Preview Lab → · Contrast checker → · Palette generator →

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