#2D7A26#2D7A26

#2D7A26 is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.3% C 0.141 H 141.9°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#2D7A26
RGBrgb(45, 122, 38)
HSLhsl(115, 53%, 31%)
HSVhsv(115, 69%, 48%)
CMYKcmyk(63.1%, 0%, 68.9%, 52.2%)
CIE-LABlab(45.10, -40.74, 37.71)
CIE-LCHlch(45.10, 55.51, 137.21°)
OKLaboklab(51.32% -0.1111 0.087)
OKLCHoklch(51.32% 0.141 141.9)
XYZxyz(8.3911, 14.6161, 4.2123)
Luminance0.1462 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7A26 #73267A
analogous
#577A26 #2D7A26 #267A49
triadic
#2D7A26 #262D7A #7A262D
tetradic
#2D7A26 #26577A #73267A #7A4926
square
#2D7A26 #26577A #73267A #7A4926
split-complementary
#2D7A26 #49267A #7A2657
monochromatic
#0B1D09 #1C4B17 #2D7A26 #3EA935 #5BC951

Accessibility & contrast

On white

5.35
#2D7A26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#2D7A26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7A26
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7A26#FFFFFF#000000##FFFFFF
##2D7A261.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F1B
Deuteranopia (green-blind)
#73682E
Tritanopia (blue-blind)
#207669
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2d7a26;
/* rgb */ color: rgb(45, 122, 38);
/* oklch */ color: oklch(51.3% 0.141 141.9);
Tailwind
colors: {
  custom: {
    50: '#70a165',
    500: '#2d7a26',
    950: '#000000',
  },
}
SCSS
$custom: #2d7a26;
$custom-light: #70a165;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7a26",
  "rgb": {
    "r": 45,
    "g": 122,
    "b": 38
  },
  "hsl": {
    "h": 115,
    "s": 52.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.51322,
    "c": 0.14105,
    "h": 141.9
  },
  "luminance": 0.14617
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D7A26

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

Preview Lab → · Contrast checker → · Palette generator →

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