#22811E#22811E

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

Color values

HEX#22811E
RGBrgb(34, 129, 30)
HSLhsl(118, 62%, 31%)
HSVhsv(118, 77%, 51%)
CMYKcmyk(73.6%, 0%, 76.7%, 49.4%)
CIE-LABlab(47.15, -46.48, 43.06)
CIE-LCHlch(47.15, 63.36, 137.19°)
OKLaboklab(52.91% -0.1264 0.0972)
OKLCHoklch(52.91% 0.159 142.4)
XYZxyz(8.7438, 16.1334, 3.8813)
Luminance0.1613 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22811E #7D1E81
analogous
#53811E #22811E #1E814B
triadic
#22811E #1E2281 #811E22
tetradic
#22811E #1E5381 #7D1E81 #814B1E
square
#22811E #1E5381 #7D1E81 #814B1E
split-complementary
#22811E #4B1E81 #811E53
monochromatic
#081E07 #154F12 #22811E #2FB32A #4BD446

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##22811E#FFFFFF#000000##FFFFFF
##22811E1.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)
#84740A
Deuteranopia (green-blind)
#796D29
Tritanopia (blue-blind)
#037D6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #22811e;
/* rgb */ color: rgb(34, 129, 30);
/* oklch */ color: oklch(52.9% 0.159 142.4);
Tailwind
colors: {
  custom: {
    50: '#6da761',
    500: '#22811e',
    950: '#000000',
  },
}
SCSS
$custom: #22811e;
$custom-light: #6da761;
$custom-dark: #000000;
JSON
{
  "hex": "#22811e",
  "rgb": {
    "r": 34,
    "g": 129,
    "b": 30
  },
  "hsl": {
    "h": 117.576,
    "s": 62.264,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52912,
    "c": 0.15943,
    "h": 142.4
  },
  "luminance": 0.16134
}

Semantic roles & 50–950 ramp

primary
#22811E
secondary
#B047B4
accent
#42E5DF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #22811E

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

Preview Lab → · Contrast checker → · Palette generator →

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