#2B874A#2B874A

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

Color values

HEX#2B874A
RGBrgb(43, 135, 74)
HSLhsl(140, 52%, 35%)
HSVhsv(140, 68%, 53%)
CMYKcmyk(68.1%, 0%, 45.2%, 47.1%)
CIE-LABlab(49.90, -41.16, 25.10)
CIE-LCHlch(49.90, 48.21, 148.63°)
OKLaboklab(55.41% -0.111 0.0618)
OKLCHoklch(55.41% 0.127 150.9)
XYZxyz(10.8954, 18.3348, 9.4420)
Luminance0.1834 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B874A #872B68
analogous
#3A872B #2B874A #2B8778
triadic
#2B874A #4A2B87 #874A2B
tetradic
#2B874A #2B3A87 #872B68 #87782B
square
#2B874A #2B3A87 #872B68 #87782B
split-complementary
#2B874A #782B87 #872B3A
monochromatic
#0D2A17 #1C5931 #2B874A #3AB563 #60CC85

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B874A#FFFFFF#000000##000000
##2B874A1.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)
#887C45
Deuteranopia (green-blind)
#7C734E
Tritanopia (blue-blind)
#008578
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2b874a;
/* rgb */ color: rgb(43, 135, 74);
/* oklch */ color: oklch(55.4% 0.127 150.9);
Tailwind
colors: {
  custom: {
    50: '#70ab7d',
    500: '#2b874a',
    950: '#000000',
  },
}
SCSS
$custom: #2b874a;
$custom-light: #70ab7d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b874a",
  "rgb": {
    "r": 43,
    "g": 135,
    "b": 74
  },
  "hsl": {
    "h": 140.217,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.55411,
    "c": 0.12707,
    "h": 150.9
  },
  "luminance": 0.18336
}

Semantic roles & 50–950 ramp

primary
#2B874A
secondary
#B25B95
accent
#4DABDB
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #2B874A

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

Preview Lab → · Contrast checker → · Palette generator →

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