#22862F#22862F

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

Color values

HEX#22862F
RGBrgb(34, 134, 47)
HSLhsl(128, 60%, 33%)
HSVhsv(128, 75%, 53%)
CMYKcmyk(74.6%, 0%, 64.9%, 47.5%)
CIE-LABlab(49.00, -46.54, 37.81)
CIE-LCHlch(49.00, 59.96, 140.91°)
OKLaboklab(54.49% -0.1257 0.0882)
OKLCHoklch(54.49% 0.154 144.9)
XYZxyz(9.6972, 17.5944, 5.5738)
Luminance0.1760 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22862F #862279
analogous
#478622 #22862F #228661
triadic
#22862F #2F2286 #862F22
tetradic
#22862F #224786 #862279 #866122
square
#22862F #224786 #862279 #866122
split-complementary
#22862F #612286 #862247
monochromatic
#09240D #16551E #22862F #2EB740 #50D361

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##22862F#FFFFFF#000000##FFFFFF
##22862F1.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)
#887925
Deuteranopia (green-blind)
#7D7137
Tritanopia (blue-blind)
#008274
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #22862f;
/* rgb */ color: rgb(34, 134, 47);
/* oklch */ color: oklch(54.5% 0.154 144.9);
Tailwind
colors: {
  custom: {
    50: '#6daa6b',
    500: '#22862f',
    950: '#000000',
  },
}
SCSS
$custom: #22862f;
$custom-light: #6daa6b;
$custom-dark: #000000;
JSON
{
  "hex": "#22862f",
  "rgb": {
    "r": 34,
    "g": 134,
    "b": 47
  },
  "hsl": {
    "h": 127.8,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54494,
    "c": 0.1536,
    "h": 144.9
  },
  "luminance": 0.17596
}

Semantic roles & 50–950 ramp

primary
#22862F
secondary
#B64EA8
accent
#45CEE3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #22862F

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

Preview Lab → · Contrast checker → · Palette generator →

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