#2B874B#2B874B

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

Color values

HEX#2B874B
RGBrgb(43, 135, 75)
HSLhsl(141, 52%, 35%)
HSVhsv(141, 68%, 53%)
CMYKcmyk(68.1%, 0%, 44.4%, 47.1%)
CIE-LABlab(49.92, -40.98, 24.57)
CIE-LCHlch(49.92, 47.78, 149.06°)
OKLaboklab(55.43% -0.1105 0.0606)
OKLCHoklch(55.43% 0.126 151.3)
XYZxyz(10.9294, 18.3484, 9.6209)
Luminance0.1835 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B874B #872B67
analogous
#39872B #2B874B #2B8779
triadic
#2B874B #4B2B87 #874B2B
tetradic
#2B874B #2B3987 #872B67 #87792B
square
#2B874B #2B3987 #872B67 #87792B
split-complementary
#2B874B #792B87 #872B39
monochromatic
#0D2A17 #1C5931 #2B874B #3AB565 #60CC86

Accessibility & contrast

On white

4.50
#2B874B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B874B#FFFFFF#000000##000000
##2B874B1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#887C47
Deuteranopia (green-blind)
#7C734F
Tritanopia (blue-blind)
#008578
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2b874b;
/* rgb */ color: rgb(43, 135, 75);
/* oklch */ color: oklch(55.4% 0.126 151.3);
Tailwind
colors: {
  custom: {
    50: '#70ab7e',
    500: '#2b874b',
    950: '#000000',
  },
}
SCSS
$custom: #2b874b;
$custom-light: #70ab7e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b874b",
  "rgb": {
    "r": 43,
    "g": 135,
    "b": 75
  },
  "hsl": {
    "h": 140.87,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.5543,
    "c": 0.12608,
    "h": 151.3
  },
  "luminance": 0.1835
}

Semantic roles & 50–950 ramp

primary
#2B874B
secondary
#B25B94
accent
#4DAADB
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #2B874B

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

Preview Lab → · Contrast checker → · Palette generator →

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