#2D874B#2D874B

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

Color values

HEX#2D874B
RGBrgb(45, 135, 75)
HSLhsl(140, 50%, 35%)
HSVhsv(140, 67%, 53%)
CMYKcmyk(66.7%, 0%, 44.4%, 47.1%)
CIE-LABlab(49.97, -40.57, 24.65)
CIE-LCHlch(49.97, 47.47, 148.72°)
OKLaboklab(55.49% -0.1095 0.0608)
OKLCHoklch(55.49% 0.125 151)
XYZxyz(11.0153, 18.3927, 9.6249)
Luminance0.1839 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D874B #872D69
analogous
#3C872D #2D874B #2D8778
triadic
#2D874B #4B2D87 #874B2D
tetradic
#2D874B #2D3C87 #872D69 #87782D
square
#2D874B #2D3C87 #872D69 #87782D
split-complementary
#2D874B #782D87 #872D3C
monochromatic
#0E2B18 #1E5931 #2D874B #3CB564 #63CB86

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D874B#FFFFFF#000000##000000
##2D874B1.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)
#887C47
Deuteranopia (green-blind)
#7C744F
Tritanopia (blue-blind)
#068578
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2d874b;
/* rgb */ color: rgb(45, 135, 75);
/* oklch */ color: oklch(55.5% 0.125 151.0);
Tailwind
colors: {
  custom: {
    50: '#71ab7e',
    500: '#2d874b',
    950: '#000000',
  },
}
SCSS
$custom: #2d874b;
$custom-light: #71ab7e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d874b",
  "rgb": {
    "r": 45,
    "g": 135,
    "b": 75
  },
  "hsl": {
    "h": 140,
    "s": 50,
    "l": 35.294
  },
  "oklch": {
    "l": 0.55489,
    "c": 0.12525,
    "h": 151
  },
  "luminance": 0.18394
}

Semantic roles & 50–950 ramp

primary
#2D874B
secondary
#B25E96
accent
#4EABDA
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #2D874B

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

Preview Lab → · Contrast checker → · Palette generator →

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