#22811F#22811F

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

Color values

HEX#22811F
RGBrgb(34, 129, 31)
HSLhsl(118, 61%, 31%)
HSVhsv(118, 76%, 51%)
CMYKcmyk(73.6%, 0%, 76%, 49.4%)
CIE-LABlab(47.16, -46.40, 42.68)
CIE-LCHlch(47.16, 63.05, 137.39°)
OKLaboklab(52.92% -0.1261 0.0965)
OKLCHoklch(52.92% 0.159 142.6)
XYZxyz(8.7567, 16.1386, 3.9496)
Luminance0.1614 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22811F #7E1F81
analogous
#53811F #22811F #1F814D
triadic
#22811F #1F2281 #811F22
tetradic
#22811F #1F5381 #7E1F81 #814D1F
square
#22811F #1F5381 #7E1F81 #814D1F
split-complementary
#22811F #4D1F81 #811F53
monochromatic
#081E07 #155013 #22811F #2FB22B #4CD347

Accessibility & contrast

On white

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

On black

4.23
#22811F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##22811F#FFFFFF#000000##FFFFFF
##22811F1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84740C
Deuteranopia (green-blind)
#796D29
Tritanopia (blue-blind)
#037D6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #22811f;
/* rgb */ color: rgb(34, 129, 31);
/* oklch */ color: oklch(52.9% 0.159 142.6);
Tailwind
colors: {
  custom: {
    50: '#6da762',
    500: '#22811f',
    950: '#000000',
  },
}
SCSS
$custom: #22811f;
$custom-light: #6da762;
$custom-dark: #000000;
JSON
{
  "hex": "#22811f",
  "rgb": {
    "r": 34,
    "g": 129,
    "b": 31
  },
  "hsl": {
    "h": 118.163,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.5292,
    "c": 0.15883,
    "h": 142.6
  },
  "luminance": 0.1614
}

Semantic roles & 50–950 ramp

primary
#22811F
secondary
#B148B4
accent
#43E4DF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #22811F

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

Preview Lab → · Contrast checker → · Palette generator →

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