#2D7846#2D7846

#2D7846 is a mid, moderate green. Relative luminance 0.144; OKLCH L 51.2% C 0.108 H 151.6°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#2D7846
RGBrgb(45, 120, 70)
HSLhsl(140, 45%, 32%)
HSVhsv(140, 63%, 47%)
CMYKcmyk(62.5%, 0%, 41.7%, 52.9%)
CIE-LABlab(44.85, -35.19, 20.76)
CIE-LCHlch(44.85, 40.86, 149.46°)
OKLaboklab(51.25% -0.0952 0.0516)
OKLCHoklch(51.25% 0.108 151.6)
XYZxyz(8.9035, 14.4322, 8.1096)
Luminance0.1443 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7846 #782D5F
analogous
#39782D #2D7846 #2D786C
triadic
#2D7846 #462D78 #78462D
tetradic
#2D7846 #2D3978 #782D5F #786C2D
square
#2D7846 #2D3978 #782D5F #786C2D
split-complementary
#2D7846 #6C2D78 #782D39
monochromatic
#0C1F12 #1C4B2C #2D7846 #3EA560 #5DC27F

Accessibility & contrast

On white

5.40
#2D7846 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#2D7846 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7846
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7846#FFFFFF#000000##FFFFFF
##2D78461.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786E42
Deuteranopia (green-blind)
#6E6749
Tritanopia (blue-blind)
#15766C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2d7846;
/* rgb */ color: rgb(45, 120, 70);
/* oklch */ color: oklch(51.2% 0.108 151.6);
Tailwind
colors: {
  custom: {
    50: '#6ea07a',
    500: '#2d7846',
    950: '#000000',
  },
}
SCSS
$custom: #2d7846;
$custom-light: #6ea07a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7846",
  "rgb": {
    "r": 45,
    "g": 120,
    "b": 70
  },
  "hsl": {
    "h": 140,
    "s": 45.455,
    "l": 32.353
  },
  "oklch": {
    "l": 0.51248,
    "c": 0.10828,
    "h": 151.6
  },
  "luminance": 0.14433
}

Semantic roles & 50–950 ramp

primary
#2D7846
secondary
#A9588E
accent
#53AAD5
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#080F09
muted
#7B7E7B

Preview Lab

Preview with #2D7846

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

Preview Lab → · Contrast checker → · Palette generator →

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