#2D7B46#2D7B46

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

Color values

HEX#2D7B46
RGBrgb(45, 123, 70)
HSLhsl(139, 46%, 33%)
HSVhsv(139, 63%, 48%)
CMYKcmyk(63.4%, 0%, 43.1%, 51.8%)
CIE-LABlab(45.86, -36.48, 22.09)
CIE-LCHlch(45.86, 42.65, 148.81°)
OKLaboklab(52.08% -0.0986 0.0547)
OKLCHoklch(52.08% 0.113 151)
XYZxyz(9.2699, 15.1651, 8.2318)
Luminance0.1517 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7B46 #7B2D62
analogous
#3B7B2D #2D7B46 #2D7B6D
triadic
#2D7B46 #462D7B #7B462D
tetradic
#2D7B46 #2D3B7B #7B2D62 #7B6D2D
square
#2D7B46 #2D3B7B #7B2D62 #7B6D2D
split-complementary
#2D7B46 #6D2D7B #7B2D3B
monochromatic
#0C2113 #1D4E2C #2D7B46 #3DA85F #5EC47F

Accessibility & contrast

On white

5.21
#2D7B46 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#2D7B46 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7B46
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7B46#FFFFFF#000000##FFFFFF
##2D7B461.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C7142
Deuteranopia (green-blind)
#716A49
Tritanopia (blue-blind)
#14796E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2d7b46;
/* rgb */ color: rgb(45, 123, 70);
/* oklch */ color: oklch(52.1% 0.113 151.0);
Tailwind
colors: {
  custom: {
    50: '#6fa27a',
    500: '#2d7b46',
    950: '#000000',
  },
}
SCSS
$custom: #2d7b46;
$custom-light: #6fa27a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7b46",
  "rgb": {
    "r": 45,
    "g": 123,
    "b": 70
  },
  "hsl": {
    "h": 139.231,
    "s": 46.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5208,
    "c": 0.11277,
    "h": 151
  },
  "luminance": 0.15166
}

Semantic roles & 50–950 ramp

primary
#2D7B46
secondary
#AB5990
accent
#52ACD6
background
#F7FAF7
surface
#EDF3ED
border
#C8CDC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #2D7B46

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

Preview Lab → · Contrast checker → · Palette generator →

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