#22811A#22811A

#22811A is a mid, vivid green. Relative luminance 0.161; OKLCH L 52.9% C 0.162 H 142.0°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#22811A
RGBrgb(34, 129, 26)
HSLhsl(115, 66%, 30%)
HSVhsv(115, 80%, 51%)
CMYKcmyk(73.6%, 0%, 79.8%, 49.4%)
CIE-LABlab(47.12, -46.79, 44.47)
CIE-LCHlch(47.12, 64.55, 136.45°)
OKLaboklab(52.88% -0.1274 0.0996)
OKLCHoklch(52.88% 0.162 142)
XYZxyz(8.6959, 16.1142, 3.6292)
Luminance0.1611 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22811A #791A81
analogous
#55811A #22811A #1A8145
triadic
#22811A #1A2281 #811A22
tetradic
#22811A #1A5581 #791A81 #81451A
square
#22811A #1A5581 #791A81 #81451A
split-complementary
#22811A #451A81 #811A55
monochromatic
#071B05 #154E10 #22811A #2FB424 #49D83D

Accessibility & contrast

On white

4.97
#22811A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#22811A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #22811A
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22811A#FFFFFF#000000##FFFFFF
##22811A1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847401
Deuteranopia (green-blind)
#796D26
Tritanopia (blue-blind)
#057D6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #22811a;
/* rgb */ color: rgb(34, 129, 26);
/* oklch */ color: oklch(52.9% 0.162 142.0);
Tailwind
colors: {
  custom: {
    50: '#6da75f',
    500: '#22811a',
    950: '#000000',
  },
}
SCSS
$custom: #22811a;
$custom-light: #6da75f;
$custom-dark: #000000;
JSON
{
  "hex": "#22811a",
  "rgb": {
    "r": 34,
    "g": 129,
    "b": 26
  },
  "hsl": {
    "h": 115.34,
    "s": 66.452,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52884,
    "c": 0.1617,
    "h": 142
  },
  "luminance": 0.16115
}

Semantic roles & 50–950 ramp

primary
#22811A
secondary
#AC42B5
accent
#3EE9DC
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #22811A

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

Preview Lab → · Contrast checker → · Palette generator →

#22811A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva