#2D8726#2D8726

#2D8726 is a mid, vivid green. Relative luminance 0.180; OKLCH L 55.0% C 0.158 H 142.1°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#2D8726
RGBrgb(45, 135, 38)
HSLhsl(116, 56%, 34%)
HSVhsv(116, 72%, 53%)
CMYKcmyk(66.7%, 0%, 71.9%, 47.1%)
CIE-LABlab(49.53, -45.65, 42.42)
CIE-LCHlch(49.53, 62.32, 137.10°)
OKLaboklab(54.98% -0.1243 0.0969)
OKLCHoklch(54.98% 0.158 142.1)
XYZxyz(10.0955, 18.0248, 4.7804)
Luminance0.1803 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8726 #802687
analogous
#5E8726 #2D8726 #268750
triadic
#2D8726 #262D87 #87262D
tetradic
#2D8726 #265E87 #802687 #875026
square
#2D8726 #265E87 #802687 #875026
split-complementary
#2D8726 #502687 #87265E
monochromatic
#0D270B #1D5719 #2D8726 #3DB733 #60D058

Accessibility & contrast

On white

4.56
#2D8726 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#2D8726 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8726
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8726#FFFFFF#000000##000000
##2D87261.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A17
Deuteranopia (green-blind)
#7F732F
Tritanopia (blue-blind)
#1B8374
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2d8726;
/* rgb */ color: rgb(45, 135, 38);
/* oklch */ color: oklch(55.0% 0.158 142.1);
Tailwind
colors: {
  custom: {
    50: '#73ab66',
    500: '#2d8726',
    950: '#000000',
  },
}
SCSS
$custom: #2d8726;
$custom-light: #73ab66;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8726",
  "rgb": {
    "r": 45,
    "g": 135,
    "b": 38
  },
  "hsl": {
    "h": 115.67,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.54979,
    "c": 0.15762,
    "h": 142.1
  },
  "luminance": 0.18026
}

Semantic roles & 50–950 ramp

primary
#2D8726
secondary
#AE54B5
accent
#48DFD4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2D8726

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

Preview Lab → · Contrast checker → · Palette generator →

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