#22811C#22811C

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

Color values

HEX#22811C
RGBrgb(34, 129, 28)
HSLhsl(116, 64%, 31%)
HSVhsv(116, 78%, 51%)
CMYKcmyk(73.6%, 0%, 78.3%, 49.4%)
CIE-LABlab(47.14, -46.64, 43.78)
CIE-LCHlch(47.14, 63.97, 136.81°)
OKLaboklab(52.9% -0.1269 0.0984)
OKLCHoklch(52.9% 0.161 142.2)
XYZxyz(8.7190, 16.1235, 3.7510)
Luminance0.1612 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22811C #7B1C81
analogous
#54811C #22811C #1C8148
triadic
#22811C #1C2281 #811C22
tetradic
#22811C #1C5481 #7B1C81 #81481C
square
#22811C #1C5481 #7B1C81 #81481C
split-complementary
#22811C #481C81 #811C54
monochromatic
#071C06 #154F11 #22811C #2FB327 #4AD642

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##22811C#FFFFFF#000000##FFFFFF
##22811C1.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)
#847405
Deuteranopia (green-blind)
#796D27
Tritanopia (blue-blind)
#047D6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #22811c;
/* rgb */ color: rgb(34, 129, 28);
/* oklch */ color: oklch(52.9% 0.161 142.2);
Tailwind
colors: {
  custom: {
    50: '#6da760',
    500: '#22811c',
    950: '#000000',
  },
}
SCSS
$custom: #22811c;
$custom-light: #6da760;
$custom-dark: #000000;
JSON
{
  "hex": "#22811c",
  "rgb": {
    "r": 34,
    "g": 129,
    "b": 28
  },
  "hsl": {
    "h": 116.436,
    "s": 64.331,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52898,
    "c": 0.1606,
    "h": 142.2
  },
  "luminance": 0.16124
}

Semantic roles & 50–950 ramp

primary
#22811C
secondary
#AE44B4
accent
#40E7DD
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #22811C

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

Preview Lab → · Contrast checker → · Palette generator →

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