#2D7B48#2D7B48

#2D7B48 is a mid, moderate green. Relative luminance 0.152; OKLCH L 52.1% C 0.111 H 151.9°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#2D7B48
RGBrgb(45, 123, 72)
HSLhsl(141, 46%, 33%)
HSVhsv(141, 63%, 48%)
CMYKcmyk(63.4%, 0%, 41.5%, 51.8%)
CIE-LABlab(45.89, -36.10, 21.00)
CIE-LCHlch(45.89, 41.77, 149.81°)
OKLaboklab(52.12% -0.0976 0.0522)
OKLCHoklch(52.12% 0.111 151.9)
XYZxyz(9.3341, 15.1908, 8.5698)
Luminance0.1519 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7B48 #7B2D60
analogous
#397B2D #2D7B48 #2D7B6F
triadic
#2D7B48 #482D7B #7B482D
tetradic
#2D7B48 #2D397B #7B2D60 #7B6F2D
square
#2D7B48 #2D397B #7B2D60 #7B6F2D
split-complementary
#2D7B48 #6F2D7B #7B2D39
monochromatic
#0C2114 #1D4E2E #2D7B48 #3DA862 #5EC482

Accessibility & contrast

On white

5.20
#2D7B48 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#2D7B48 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7B48
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7B48#FFFFFF#000000##FFFFFF
##2D7B481.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B7144
Deuteranopia (green-blind)
#716A4B
Tritanopia (blue-blind)
#12796E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2d7b48;
/* rgb */ color: rgb(45, 123, 72);
/* oklch */ color: oklch(52.1% 0.111 151.9);
Tailwind
colors: {
  custom: {
    50: '#6fa27b',
    500: '#2d7b48',
    950: '#000000',
  },
}
SCSS
$custom: #2d7b48;
$custom-light: #6fa27b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7b48",
  "rgb": {
    "r": 45,
    "g": 123,
    "b": 72
  },
  "hsl": {
    "h": 140.769,
    "s": 46.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5212,
    "c": 0.11073,
    "h": 151.9
  },
  "luminance": 0.15192
}

Semantic roles & 50–950 ramp

primary
#2D7B48
secondary
#AB598E
accent
#52A8D6
background
#F7FAF7
surface
#EDF3EE
border
#C8CDC9
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #2D7B48

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

Preview Lab → · Contrast checker → · Palette generator →

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