#2D874A#2D874A

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

Color values

HEX#2D874A
RGBrgb(45, 135, 74)
HSLhsl(139, 50%, 35%)
HSVhsv(139, 67%, 53%)
CMYKcmyk(66.7%, 0%, 45.2%, 47.1%)
CIE-LABlab(49.95, -40.76, 25.17)
CIE-LCHlch(49.95, 47.90, 148.30°)
OKLaboklab(55.47% -0.11 0.062)
OKLCHoklch(55.47% 0.126 150.6)
XYZxyz(10.9813, 18.3791, 9.4460)
Luminance0.1838 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D874A #872D6A
analogous
#3D872D #2D874A #2D8777
triadic
#2D874A #4A2D87 #874A2D
tetradic
#2D874A #2D3D87 #872D6A #87772D
square
#2D874A #2D3D87 #872D6A #87772D
split-complementary
#2D874A #772D87 #872D3D
monochromatic
#0E2B18 #1E5931 #2D874A #3CB563 #63CB85

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D874A#FFFFFF#000000##000000
##2D874A1.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)
#887C45
Deuteranopia (green-blind)
#7C744E
Tritanopia (blue-blind)
#078578
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2d874a;
/* rgb */ color: rgb(45, 135, 74);
/* oklch */ color: oklch(55.5% 0.126 150.6);
Tailwind
colors: {
  custom: {
    50: '#71ab7d',
    500: '#2d874a',
    950: '#000000',
  },
}
SCSS
$custom: #2d874a;
$custom-light: #71ab7d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d874a",
  "rgb": {
    "r": 45,
    "g": 135,
    "b": 74
  },
  "hsl": {
    "h": 139.333,
    "s": 50,
    "l": 35.294
  },
  "oklch": {
    "l": 0.5547,
    "c": 0.12624,
    "h": 150.6
  },
  "luminance": 0.1838
}

Semantic roles & 50–950 ramp

primary
#2D874A
secondary
#B25E97
accent
#4EADDA
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #2D874A

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

Preview Lab → · Contrast checker → · Palette generator →

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