#22874C#22874C

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

Color values

HEX#22874C
RGBrgb(34, 135, 76)
HSLhsl(145, 60%, 33%)
HSVhsv(145, 75%, 53%)
CMYKcmyk(74.8%, 0%, 43.7%, 47.1%)
CIE-LABlab(49.72, -42.42, 23.73)
CIE-LCHlch(49.72, 48.60, 150.78°)
OKLaboklab(55.22% -0.1142 0.0587)
OKLCHoklch(55.22% 0.128 152.8)
XYZxyz(10.6272, 18.1886, 9.7867)
Luminance0.1819 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22874C #87225D
analogous
#2B8722 #22874C #22877E
triadic
#22874C #4C2287 #874C22
tetradic
#22874C #222B87 #87225D #877E22
square
#22874C #222B87 #87225D #877E22
split-complementary
#22874C #7E2287 #87222B
monochromatic
#092515 #165630 #22874C #2EB868 #50D387

Accessibility & contrast

On white

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

On black

4.64
#22874C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #22874C
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22874C#FFFFFF#000000##000000
##22874C1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#877B48
Deuteranopia (green-blind)
#7B7350
Tritanopia (blue-blind)
#008579
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #22874c;
/* rgb */ color: rgb(34, 135, 76);
/* oklch */ color: oklch(55.2% 0.128 152.8);
Tailwind
colors: {
  custom: {
    50: '#6dab7f',
    500: '#22874c',
    950: '#000000',
  },
}
SCSS
$custom: #22874c;
$custom-light: #6dab7f;
$custom-dark: #000000;
JSON
{
  "hex": "#22874c",
  "rgb": {
    "r": 34,
    "g": 135,
    "b": 76
  },
  "hsl": {
    "h": 144.95,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55217,
    "c": 0.12844,
    "h": 152.8
  },
  "luminance": 0.1819
}

Semantic roles & 50–950 ramp

primary
#22874C
secondary
#B74E8B
accent
#45A1E3
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #22874C

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

Preview Lab → · Contrast checker → · Palette generator →

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