#2B874E#2B874E

#2B874E is a mid, vivid green. Relative luminance 0.184; OKLCH L 55.5% C 0.123 H 152.4°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#2B874E
RGBrgb(43, 135, 78)
HSLhsl(143, 52%, 35%)
HSVhsv(143, 68%, 53%)
CMYKcmyk(68.1%, 0%, 42.2%, 47.1%)
CIE-LABlab(49.97, -40.42, 22.98)
CIE-LCHlch(49.97, 46.50, 150.38°)
OKLaboklab(55.49% -0.1091 0.057)
OKLCHoklch(55.49% 0.123 152.4)
XYZxyz(11.0345, 18.3904, 10.1744)
Luminance0.1839 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B874E #872B64
analogous
#36872B #2B874E #2B877C
triadic
#2B874E #4E2B87 #874E2B
tetradic
#2B874E #2B3687 #872B64 #877C2B
square
#2B874E #2B3687 #872B64 #877C2B
split-complementary
#2B874E #7C2B87 #872B36
monochromatic
#0D2A18 #1C5933 #2B874E #3AB569 #60CC89

Accessibility & contrast

On white

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

On black

4.68
#2B874E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B874E
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B874E#FFFFFF#000000##000000
##2B874E1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b874e;
/* rgb */ color: rgb(43, 135, 78);
/* oklch */ color: oklch(55.5% 0.123 152.4);
Tailwind
colors: {
  custom: {
    50: '#70ab80',
    500: '#2b874e',
    950: '#000000',
  },
}
SCSS
$custom: #2b874e;
$custom-light: #70ab80;
$custom-dark: #000000;
JSON
{
  "hex": "#2b874e",
  "rgb": {
    "r": 43,
    "g": 135,
    "b": 78
  },
  "hsl": {
    "h": 142.826,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.55488,
    "c": 0.12312,
    "h": 152.4
  },
  "luminance": 0.18392
}

Semantic roles & 50–950 ramp

primary
#2B874E
secondary
#B25B91
accent
#4DA5DB
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #2B874E

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

Preview Lab → · Contrast checker → · Palette generator →

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