#2D7B41#2D7B41

#2D7B41 is a mid, moderate green. Relative luminance 0.151; OKLCH L 52.0% C 0.118 H 149.0°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#2D7B41
RGBrgb(45, 123, 65)
HSLhsl(135, 46%, 33%)
HSVhsv(135, 63%, 48%)
CMYKcmyk(63.4%, 0%, 47.2%, 51.8%)
CIE-LABlab(45.78, -37.39, 24.77)
CIE-LCHlch(45.78, 44.85, 146.48°)
OKLaboklab(51.99% -0.101 0.0607)
OKLCHoklch(51.99% 0.118 149)
XYZxyz(9.1186, 15.1046, 7.4349)
Luminance0.1510 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7B41 #7B2D67
analogous
#407B2D #2D7B41 #2D7B68
triadic
#2D7B41 #412D7B #7B412D
tetradic
#2D7B41 #2D407B #7B2D67 #7B682D
square
#2D7B41 #2D407B #7B2D67 #7B682D
split-complementary
#2D7B41 #682D7B #7B2D40
monochromatic
#0C2112 #1D4E29 #2D7B41 #3DA859 #5EC478

Accessibility & contrast

On white

5.22
#2D7B41 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#2D7B41 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7B41
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7B41#FFFFFF#000000##FFFFFF
##2D7B411.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C713D
Deuteranopia (green-blind)
#726A45
Tritanopia (blue-blind)
#17796D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2d7b41;
/* rgb */ color: rgb(45, 123, 65);
/* oklch */ color: oklch(52.0% 0.118 149.0);
Tailwind
colors: {
  custom: {
    50: '#6fa276',
    500: '#2d7b41',
    950: '#000000',
  },
}
SCSS
$custom: #2d7b41;
$custom-light: #6fa276;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7b41",
  "rgb": {
    "r": 45,
    "g": 123,
    "b": 65
  },
  "hsl": {
    "h": 135.385,
    "s": 46.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.51985,
    "c": 0.11785,
    "h": 149
  },
  "luminance": 0.15105
}

Semantic roles & 50–950 ramp

primary
#2D7B41
secondary
#AB5996
accent
#52B4D6
background
#F7FAF7
surface
#EDF3ED
border
#C8CDC8
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #2D7B41

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

Preview Lab → · Contrast checker → · Palette generator →

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