#22874E#22874E

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

Color values

HEX#22874E
RGBrgb(34, 135, 78)
HSLhsl(146, 60%, 33%)
HSVhsv(146, 75%, 53%)
CMYKcmyk(74.8%, 0%, 42.2%, 47.1%)
CIE-LABlab(49.76, -42.03, 22.67)
CIE-LCHlch(49.76, 47.75, 151.66°)
OKLaboklab(55.26% -0.1133 0.0563)
OKLCHoklch(55.26% 0.126 153.6)
XYZxyz(10.6978, 18.2169, 10.1587)
Luminance0.1822 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22874E #87225B
analogous
#288722 #22874E #228780
triadic
#22874E #4E2287 #874E22
tetradic
#22874E #222887 #87225B #878022
square
#22874E #222887 #87225B #878022
split-complementary
#22874E #802287 #872228
monochromatic
#092516 #165632 #22874E #2EB86A #50D389

Accessibility & contrast

On white

4.52
#22874E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##22874E#FFFFFF#000000##000000
##22874E1.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #22874e;
/* rgb */ color: rgb(34, 135, 78);
/* oklch */ color: oklch(55.3% 0.126 153.6);
Tailwind
colors: {
  custom: {
    50: '#6dab80',
    500: '#22874e',
    950: '#000000',
  },
}
SCSS
$custom: #22874e;
$custom-light: #6dab80;
$custom-dark: #000000;
JSON
{
  "hex": "#22874e",
  "rgb": {
    "r": 34,
    "g": 135,
    "b": 78
  },
  "hsl": {
    "h": 146.139,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55257,
    "c": 0.12649,
    "h": 153.6
  },
  "luminance": 0.18218
}

Semantic roles & 50–950 ramp

primary
#22874E
secondary
#B74E89
accent
#459EE3
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #22874E

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

Preview Lab → · Contrast checker → · Palette generator →

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