#22874F#22874F

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

Color values

HEX#22874F
RGBrgb(34, 135, 79)
HSLhsl(147, 60%, 33%)
HSVhsv(147, 75%, 53%)
CMYKcmyk(74.8%, 0%, 41.5%, 47.1%)
CIE-LABlab(49.78, -41.83, 22.13)
CIE-LCHlch(49.78, 47.33, 152.12°)
OKLaboklab(55.28% -0.1128 0.0551)
OKLCHoklch(55.28% 0.126 154)
XYZxyz(10.7340, 18.2313, 10.3489)
Luminance0.1823 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22874F #87225A
analogous
#278722 #22874F #228781
triadic
#22874F #4F2287 #874F22
tetradic
#22874F #222787 #87225A #878122
square
#22874F #222787 #87225A #878122
split-complementary
#22874F #812287 #872227
monochromatic
#092516 #165632 #22874F #2EB86C #50D38B

Accessibility & contrast

On white

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

On black

4.65
#22874F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #22874F
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22874F#FFFFFF#000000##000000
##22874F1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #22874f;
/* rgb */ color: rgb(34, 135, 79);
/* oklch */ color: oklch(55.3% 0.126 154.0);
Tailwind
colors: {
  custom: {
    50: '#6dab81',
    500: '#22874f',
    950: '#000000',
  },
}
SCSS
$custom: #22874f;
$custom-light: #6dab81;
$custom-dark: #000000;
JSON
{
  "hex": "#22874f",
  "rgb": {
    "r": 34,
    "g": 135,
    "b": 79
  },
  "hsl": {
    "h": 146.733,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55277,
    "c": 0.12552,
    "h": 154
  },
  "luminance": 0.18233
}

Semantic roles & 50–950 ramp

primary
#22874F
secondary
#B74E88
accent
#459DE3
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #22874F

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

Preview Lab → · Contrast checker → · Palette generator →

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