#22771C#22771C

#22771C is a mid, vivid green. Relative luminance 0.136; OKLCH L 50.0% C 0.149 H 142.1°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#22771C
RGBrgb(34, 119, 28)
HSLhsl(116, 62%, 29%)
HSVhsv(116, 76%, 47%)
CMYKcmyk(71.4%, 0%, 76.5%, 53.3%)
CIE-LABlab(43.68, -43.10, 40.33)
CIE-LCHlch(43.68, 59.03, 136.90°)
OKLaboklab(50.03% -0.1173 0.0912)
OKLCHoklch(50.03% 0.149 142.1)
XYZxyz(7.4657, 13.6168, 3.3332)
Luminance0.1362 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22771C #711C77
analogous
#50771C #22771C #1C7744
triadic
#22771C #1C2277 #771C22
tetradic
#22771C #1C5077 #711C77 #77441C
square
#22771C #1C5077 #711C77 #77441C
split-complementary
#22771C #441C77 #771C50
monochromatic
#071906 #144510 #22771C #30A928 #46D13C

Accessibility & contrast

On white

5.64
#22771C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#22771C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #22771C
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22771C#FFFFFF#000000##FFFFFF
##22771C1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B0B
Deuteranopia (green-blind)
#706526
Tritanopia (blue-blind)
#0D7365
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #22771c;
/* rgb */ color: rgb(34, 119, 28);
/* oklch */ color: oklch(50.0% 0.149 142.1);
Tailwind
colors: {
  custom: {
    50: '#6b9f5f',
    500: '#22771c',
    950: '#000000',
  },
}
SCSS
$custom: #22771c;
$custom-light: #6b9f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#22771c",
  "rgb": {
    "r": 34,
    "g": 119,
    "b": 28
  },
  "hsl": {
    "h": 116.044,
    "s": 61.905,
    "l": 28.824
  },
  "oklch": {
    "l": 0.50029,
    "c": 0.14862,
    "h": 142.1
  },
  "luminance": 0.13618
}

Semantic roles & 50–950 ramp

primary
#22771C
secondary
#A444AB
accent
#43E5DA
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070F05
muted
#7A7E79

Preview Lab

Preview with #22771C

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

Preview Lab → · Contrast checker → · Palette generator →

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