#2D7D26#2D7D26

#2D7D26 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.2% C 0.145 H 142.0°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#2D7D26
RGBrgb(45, 125, 38)
HSLhsl(115, 53%, 32%)
HSVhsv(115, 70%, 49%)
CMYKcmyk(64%, 0%, 69.6%, 51%)
CIE-LABlab(46.13, -41.90, 38.82)
CIE-LCHlch(46.13, 57.12, 137.19°)
OKLaboklab(52.17% -0.1142 0.0893)
OKLCHoklch(52.17% 0.145 142)
XYZxyz(8.7652, 15.3642, 4.3370)
Luminance0.1537 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7D26 #76267D
analogous
#597D26 #2D7D26 #267D4A
triadic
#2D7D26 #262D7D #7D262D
tetradic
#2D7D26 #26597D #76267D #7D4A26
square
#2D7D26 #26597D #76267D #7D4A26
split-complementary
#2D7D26 #4A267D #7D2659
monochromatic
#0B1F09 #1C4E18 #2D7D26 #3EAC34 #5CCB53

Accessibility & contrast

On white

5.16
#2D7D26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#2D7D26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7D26
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7D26#FFFFFF#000000##FFFFFF
##2D7D261.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80711A
Deuteranopia (green-blind)
#766B2E
Tritanopia (blue-blind)
#1F796B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2d7d26;
/* rgb */ color: rgb(45, 125, 38);
/* oklch */ color: oklch(52.2% 0.145 142.0);
Tailwind
colors: {
  custom: {
    50: '#70a365',
    500: '#2d7d26',
    950: '#000000',
  },
}
SCSS
$custom: #2d7d26;
$custom-light: #70a365;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7d26",
  "rgb": {
    "r": 45,
    "g": 125,
    "b": 38
  },
  "hsl": {
    "h": 115.172,
    "s": 53.374,
    "l": 31.961
  },
  "oklch": {
    "l": 0.5217,
    "c": 0.14496,
    "h": 142
  },
  "luminance": 0.15365
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D7D26

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

Preview Lab → · Contrast checker → · Palette generator →

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