#2D7B26#2D7B26

#2D7B26 is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.6% C 0.142 H 142.0°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#2D7B26
RGBrgb(45, 123, 38)
HSLhsl(115, 53%, 32%)
HSVhsv(115, 69%, 48%)
CMYKcmyk(63.4%, 0%, 69.1%, 51.8%)
CIE-LABlab(45.45, -41.13, 38.08)
CIE-LCHlch(45.45, 56.05, 137.21°)
OKLaboklab(51.61% -0.1121 0.0877)
OKLCHoklch(51.61% 0.142 142)
XYZxyz(8.5146, 14.8629, 4.2535)
Luminance0.1486 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7B26 #74267B
analogous
#587B26 #2D7B26 #267B4A
triadic
#2D7B26 #262D7B #7B262D
tetradic
#2D7B26 #26587B #74267B #7B4A26
square
#2D7B26 #26587B #74267B #7B4A26
split-complementary
#2D7B26 #4A267B #7B2658
monochromatic
#0B1D09 #1C4C18 #2D7B26 #3EAA34 #5CCA52

Accessibility & contrast

On white

5.29
#2D7B26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#2D7B26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7B26
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7B26#FFFFFF#000000##FFFFFF
##2D7B261.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E701B
Deuteranopia (green-blind)
#74692E
Tritanopia (blue-blind)
#20776A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2d7b26;
/* rgb */ color: rgb(45, 123, 38);
/* oklch */ color: oklch(51.6% 0.142 142.0);
Tailwind
colors: {
  custom: {
    50: '#70a265',
    500: '#2d7b26',
    950: '#000000',
  },
}
SCSS
$custom: #2d7b26;
$custom-light: #70a265;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7b26",
  "rgb": {
    "r": 45,
    "g": 123,
    "b": 38
  },
  "hsl": {
    "h": 115.059,
    "s": 52.795,
    "l": 31.569
  },
  "oklch": {
    "l": 0.51605,
    "c": 0.14236,
    "h": 142
  },
  "luminance": 0.14864
}

Semantic roles & 50–950 ramp

primary
#2D7B26
secondary
#A550AD
accent
#4CDCD0
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2D7B26

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

Preview Lab → · Contrast checker → · Palette generator →

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