#2D7E26#2D7E26

#2D7E26 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.5% C 0.146 H 142.0°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#2D7E26
RGBrgb(45, 126, 38)
HSLhsl(115, 54%, 32%)
HSVhsv(115, 70%, 49%)
CMYKcmyk(64.3%, 0%, 69.8%, 50.6%)
CIE-LABlab(46.47, -42.28, 39.18)
CIE-LCHlch(46.47, 57.65, 137.18°)
OKLaboklab(52.45% -0.1152 0.0901)
OKLCHoklch(52.45% 0.146 142)
XYZxyz(8.8924, 15.6187, 4.3794)
Luminance0.1562 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7E26 #77267E
analogous
#597E26 #2D7E26 #267E4B
triadic
#2D7E26 #262D7E #7E262D
tetradic
#2D7E26 #26597E #77267E #7E4B26
square
#2D7E26 #26597E #77267E #7E4B26
split-complementary
#2D7E26 #4B267E #7E2659
monochromatic
#0B200A #1C4F18 #2D7E26 #3EAD34 #5DCB53

Accessibility & contrast

On white

5.09
#2D7E26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#2D7E26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7E26
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7E26#FFFFFF#000000##FFFFFF
##2D7E261.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81721A
Deuteranopia (green-blind)
#776C2E
Tritanopia (blue-blind)
#1F7A6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2d7e26;
/* rgb */ color: rgb(45, 126, 38);
/* oklch */ color: oklch(52.5% 0.146 142.0);
Tailwind
colors: {
  custom: {
    50: '#71a465',
    500: '#2d7e26',
    950: '#000000',
  },
}
SCSS
$custom: #2d7e26;
$custom-light: #71a465;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7e26",
  "rgb": {
    "r": 45,
    "g": 126,
    "b": 38
  },
  "hsl": {
    "h": 115.227,
    "s": 53.659,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52452,
    "c": 0.14626,
    "h": 142
  },
  "luminance": 0.1562
}

Semantic roles & 50–950 ramp

primary
#2D7E26
secondary
#A850B0
accent
#4BDDD1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2D7E26

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

Preview Lab → · Contrast checker → · Palette generator →

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