#22874A#22874A

#22874A is a mid, vivid green. Relative luminance 0.182; OKLCH L 55.2% C 0.130 H 152.1°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#22874A
RGBrgb(34, 135, 74)
HSLhsl(144, 60%, 33%)
HSVhsv(144, 75%, 53%)
CMYKcmyk(74.8%, 0%, 45.2%, 47.1%)
CIE-LABlab(49.69, -42.79, 24.79)
CIE-LCHlch(49.69, 49.45, 149.92°)
OKLaboklab(55.18% -0.1152 0.0611)
OKLCHoklch(55.18% 0.13 152.1)
XYZxyz(10.5588, 18.1612, 9.4262)
Luminance0.1816 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22874A #87225F
analogous
#2D8722 #22874A #22877C
triadic
#22874A #4A2287 #874A22
tetradic
#22874A #222D87 #87225F #877C22
square
#22874A #222D87 #87225F #877C22
split-complementary
#22874A #7C2287 #87222D
monochromatic
#092514 #16562F #22874A #2EB865 #50D384

Accessibility & contrast

On white

4.53
#22874A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#22874A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #22874A
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22874A#FFFFFF#000000##000000
##22874A1.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#877B45
Deuteranopia (green-blind)
#7B734E
Tritanopia (blue-blind)
#008578
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #22874a;
/* rgb */ color: rgb(34, 135, 74);
/* oklch */ color: oklch(55.2% 0.130 152.1);
Tailwind
colors: {
  custom: {
    50: '#6dab7d',
    500: '#22874a',
    950: '#000000',
  },
}
SCSS
$custom: #22874a;
$custom-light: #6dab7d;
$custom-dark: #000000;
JSON
{
  "hex": "#22874a",
  "rgb": {
    "r": 34,
    "g": 135,
    "b": 74
  },
  "hsl": {
    "h": 143.762,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55179,
    "c": 0.13041,
    "h": 152.1
  },
  "luminance": 0.18162
}

Semantic roles & 50–950 ramp

primary
#22874A
secondary
#B74E8D
accent
#45A4E3
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #22874A

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

Preview Lab → · Contrast checker → · Palette generator →

#22874A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva