#22711F#22711F

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

Color values

HEX#22711F
RGBrgb(34, 113, 31)
HSLhsl(118, 57%, 28%)
HSVhsv(118, 73%, 44%)
CMYKcmyk(69.9%, 0%, 72.6%, 55.7%)
CIE-LABlab(41.61, -40.63, 36.96)
CIE-LCHlch(41.61, 54.92, 137.70°)
OKLaboklab(48.32% -0.1105 0.0846)
OKLCHoklch(48.32% 0.139 142.6)
XYZxyz(6.8117, 12.2486, 3.3013)
Luminance0.1225 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22711F #6E1F71
analogous
#4B711F #22711F #1F7145
triadic
#22711F #1F2271 #711F22
tetradic
#22711F #1F4B71 #6E1F71 #71451F
square
#22711F #1F4B71 #6E1F71 #71451F
split-complementary
#22711F #451F71 #711F4B
monochromatic
#071807 #144112 #22711F #30A12C #45CB40

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##22711F#FFFFFF#000000##FFFFFF
##22711F1.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)
#746613
Deuteranopia (green-blind)
#6A6027
Tritanopia (blue-blind)
#0F6E61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #22711f;
/* rgb */ color: rgb(34, 113, 31);
/* oklch */ color: oklch(48.3% 0.139 142.6);
Tailwind
colors: {
  custom: {
    50: '#699b60',
    500: '#22711f',
    950: '#000000',
  },
}
SCSS
$custom: #22711f;
$custom-light: #699b60;
$custom-dark: #000000;
JSON
{
  "hex": "#22711f",
  "rgb": {
    "r": 34,
    "g": 113,
    "b": 31
  },
  "hsl": {
    "h": 117.805,
    "s": 56.944,
    "l": 28.235
  },
  "oklch": {
    "l": 0.48321,
    "c": 0.13913,
    "h": 142.6
  },
  "luminance": 0.12249
}

Semantic roles & 50–950 ramp

primary
#22711F
secondary
#A147A5
accent
#48E0DB
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #22711F

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

Preview Lab → · Contrast checker → · Palette generator →

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