#22811B#22811B

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

Color values

HEX#22811B
RGBrgb(34, 129, 27)
HSLhsl(116, 65%, 31%)
HSVhsv(116, 79%, 51%)
CMYKcmyk(73.6%, 0%, 79.1%, 49.4%)
CIE-LABlab(47.13, -46.71, 44.13)
CIE-LCHlch(47.13, 64.26, 136.63°)
OKLaboklab(52.89% -0.1272 0.099)
OKLCHoklch(52.89% 0.161 142.1)
XYZxyz(8.7073, 16.1188, 3.6890)
Luminance0.1612 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22811B #7A1B81
analogous
#55811B #22811B #1B8147
triadic
#22811B #1B2281 #811B22
tetradic
#22811B #1B5581 #7A1B81 #81471B
square
#22811B #1B5581 #7A1B81 #81471B
split-complementary
#22811B #471B81 #811B55
monochromatic
#071C06 #154E10 #22811B #2FB426 #4AD73F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #22811b;
/* rgb */ color: rgb(34, 129, 27);
/* oklch */ color: oklch(52.9% 0.161 142.1);
Tailwind
colors: {
  custom: {
    50: '#6da760',
    500: '#22811b',
    950: '#000000',
  },
}
SCSS
$custom: #22811b;
$custom-light: #6da760;
$custom-dark: #000000;
JSON
{
  "hex": "#22811b",
  "rgb": {
    "r": 34,
    "g": 129,
    "b": 27
  },
  "hsl": {
    "h": 115.882,
    "s": 65.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.5289,
    "c": 0.16116,
    "h": 142.1
  },
  "luminance": 0.1612
}

Semantic roles & 50–950 ramp

primary
#22811B
secondary
#AD43B5
accent
#3FE8DD
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #22811B

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

Preview Lab → · Contrast checker → · Palette generator →

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