#22874B#22874B

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

Color values

HEX#22874B
RGBrgb(34, 135, 75)
HSLhsl(144, 60%, 33%)
HSVhsv(144, 75%, 53%)
CMYKcmyk(74.8%, 0%, 44.4%, 47.1%)
CIE-LABlab(49.71, -42.60, 24.26)
CIE-LCHlch(49.71, 49.03, 150.34°)
OKLaboklab(55.2% -0.1147 0.0599)
OKLCHoklch(55.2% 0.129 152.4)
XYZxyz(10.5927, 18.1748, 9.6051)
Luminance0.1818 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22874B #87225E
analogous
#2C8722 #22874B #22877D
triadic
#22874B #4B2287 #874B22
tetradic
#22874B #222C87 #87225E #877D22
square
#22874B #222C87 #87225E #877D22
split-complementary
#22874B #7D2287 #87222C
monochromatic
#092515 #165630 #22874B #2EB866 #50D385

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##22874B#FFFFFF#000000##000000
##22874B1.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)
#877B47
Deuteranopia (green-blind)
#7B734F
Tritanopia (blue-blind)
#008578
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #22874b;
/* rgb */ color: rgb(34, 135, 75);
/* oklch */ color: oklch(55.2% 0.129 152.4);
Tailwind
colors: {
  custom: {
    50: '#6dab7e',
    500: '#22874b',
    950: '#000000',
  },
}
SCSS
$custom: #22874b;
$custom-light: #6dab7e;
$custom-dark: #000000;
JSON
{
  "hex": "#22874b",
  "rgb": {
    "r": 34,
    "g": 135,
    "b": 75
  },
  "hsl": {
    "h": 144.356,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55198,
    "c": 0.12942,
    "h": 152.4
  },
  "luminance": 0.18176
}

Semantic roles & 50–950 ramp

primary
#22874B
secondary
#B74E8C
accent
#45A3E3
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #22874B

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

Preview Lab → · Contrast checker → · Palette generator →

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