#2D7626#2D7626

#2D7626 is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.2% C 0.136 H 141.9°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#2D7626
RGBrgb(45, 118, 38)
HSLhsl(115, 51%, 31%)
HSVhsv(115, 68%, 46%)
CMYKcmyk(61.9%, 0%, 67.8%, 53.7%)
CIE-LABlab(43.73, -39.17, 36.21)
CIE-LCHlch(43.73, 53.35, 137.24°)
OKLaboklab(50.19% -0.1068 0.0838)
OKLCHoklch(50.19% 0.136 141.9)
XYZxyz(7.9101, 13.6540, 4.0520)
Luminance0.1366 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7626 #6F2676
analogous
#557626 #2D7626 #267647
triadic
#2D7626 #262D76 #76262D
tetradic
#2D7626 #265576 #6F2676 #764726
square
#2D7626 #265576 #6F2676 #764726
split-complementary
#2D7626 #472676 #762655
monochromatic
#0A1908 #1B4817 #2D7626 #3FA435 #5AC750

Accessibility & contrast

On white

5.63
#2D7626 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#2D7626 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7626
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7626#FFFFFF#000000##FFFFFF
##2D76261.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B1C
Deuteranopia (green-blind)
#70652D
Tritanopia (blue-blind)
#217265
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2d7626;
/* rgb */ color: rgb(45, 118, 38);
/* oklch */ color: oklch(50.2% 0.136 141.9);
Tailwind
colors: {
  custom: {
    50: '#6f9e64',
    500: '#2d7626',
    950: '#000000',
  },
}
SCSS
$custom: #2d7626;
$custom-light: #6f9e64;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7626",
  "rgb": {
    "r": 45,
    "g": 118,
    "b": 38
  },
  "hsl": {
    "h": 114.75,
    "s": 51.282,
    "l": 30.588
  },
  "oklch": {
    "l": 0.5019,
    "c": 0.13575,
    "h": 141.9
  },
  "luminance": 0.13655
}

Semantic roles & 50–950 ramp

primary
#2D7626
secondary
#A14FA8
accent
#4DDBCE
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2D7626

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

Preview Lab → · Contrast checker → · Palette generator →

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