#22862D#22862D

#22862D is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.5% C 0.155 H 144.6°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#22862D
RGBrgb(34, 134, 45)
HSLhsl(127, 60%, 33%)
HSVhsv(127, 75%, 53%)
CMYKcmyk(74.6%, 0%, 66.4%, 47.5%)
CIE-LABlab(48.98, -46.77, 38.71)
CIE-LCHlch(48.98, 60.71, 140.39°)
OKLaboklab(54.47% -0.1264 0.0899)
OKLCHoklch(54.47% 0.155 144.6)
XYZxyz(9.6578, 17.5786, 5.3661)
Luminance0.1758 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22862D #86227B
analogous
#498622 #22862D #22865F
triadic
#22862D #2D2286 #862D22
tetradic
#22862D #224986 #86227B #865F22
square
#22862D #224986 #86227B #865F22
split-complementary
#22862D #5F2286 #862249
monochromatic
#09240C #16551D #22862D #2EB73D #50D35E

Accessibility & contrast

On white

4.65
#22862D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#22862D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #22862D
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22862D#FFFFFF#000000##FFFFFF
##22862D1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887922
Deuteranopia (green-blind)
#7D7135
Tritanopia (blue-blind)
#008273
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #22862d;
/* rgb */ color: rgb(34, 134, 45);
/* oklch */ color: oklch(54.5% 0.155 144.6);
Tailwind
colors: {
  custom: {
    50: '#6eaa6a',
    500: '#22862d',
    950: '#000000',
  },
}
SCSS
$custom: #22862d;
$custom-light: #6eaa6a;
$custom-dark: #000000;
JSON
{
  "hex": "#22862d",
  "rgb": {
    "r": 34,
    "g": 134,
    "b": 45
  },
  "hsl": {
    "h": 126.6,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54471,
    "c": 0.15517,
    "h": 144.6
  },
  "luminance": 0.1758
}

Semantic roles & 50–950 ramp

primary
#22862D
secondary
#B64EAB
accent
#45D1E3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #22862D

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

Preview Lab → · Contrast checker → · Palette generator →

#22862D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva