#2B874C#2B874C

#2B874C is a mid, vivid green. Relative luminance 0.184; OKLCH L 55.4% C 0.125 H 151.6°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#2B874C
RGBrgb(43, 135, 76)
HSLhsl(142, 52%, 35%)
HSVhsv(142, 68%, 53%)
CMYKcmyk(68.1%, 0%, 43.7%, 47.1%)
CIE-LABlab(49.93, -40.80, 24.04)
CIE-LCHlch(49.93, 47.35, 149.49°)
OKLaboklab(55.45% -0.1101 0.0594)
OKLCHoklch(55.45% 0.125 151.6)
XYZxyz(10.9638, 18.3622, 9.8025)
Luminance0.1836 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B874C #872B66
analogous
#38872B #2B874C #2B877A
triadic
#2B874C #4C2B87 #874C2B
tetradic
#2B874C #2B3887 #872B66 #877A2B
square
#2B874C #2B3887 #872B66 #877A2B
split-complementary
#2B874C #7A2B87 #872B38
monochromatic
#0D2A18 #1C5932 #2B874C #3AB566 #60CC87

Accessibility & contrast

On white

4.49
#2B874C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#2B874C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B874C
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B874C#FFFFFF#000000##000000
##2B874C1.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#877C48
Deuteranopia (green-blind)
#7C7450
Tritanopia (blue-blind)
#008579
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2b874c;
/* rgb */ color: rgb(43, 135, 76);
/* oklch */ color: oklch(55.4% 0.125 151.6);
Tailwind
colors: {
  custom: {
    50: '#70ab7f',
    500: '#2b874c',
    950: '#000000',
  },
}
SCSS
$custom: #2b874c;
$custom-light: #70ab7f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b874c",
  "rgb": {
    "r": 43,
    "g": 135,
    "b": 76
  },
  "hsl": {
    "h": 141.522,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.55449,
    "c": 0.1251,
    "h": 151.6
  },
  "luminance": 0.18363
}

Semantic roles & 50–950 ramp

primary
#2B874C
secondary
#B25B93
accent
#4DA8DB
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #2B874C

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

Preview Lab → · Contrast checker → · Palette generator →

#2B874C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva