#2D7426#2D7426

#2D7426 is a mid, vivid green. Relative luminance 0.132; OKLCH L 49.6% C 0.133 H 141.8°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#2D7426
RGBrgb(45, 116, 38)
HSLhsl(115, 51%, 30%)
HSVhsv(115, 67%, 45%)
CMYKcmyk(61.2%, 0%, 67.2%, 54.5%)
CIE-LABlab(43.05, -38.37, 35.46)
CIE-LCHlch(43.05, 52.25, 137.26°)
OKLaboklab(49.62% -0.1046 0.0822)
OKLCHoklch(49.62% 0.133 141.8)
XYZxyz(7.6770, 13.1879, 3.9743)
Luminance0.1319 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7426 #6D2674
analogous
#547426 #2D7426 #267446
triadic
#2D7426 #262D74 #74262D
tetradic
#2D7426 #265474 #6D2674 #744626
square
#2D7426 #265474 #6D2674 #744626
split-complementary
#2D7426 #462674 #742654
monochromatic
#091808 #1B4617 #2D7426 #3FA235 #5AC54F

Accessibility & contrast

On white

5.77
#2D7426 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#2D7426 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7426
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7426#FFFFFF#000000##FFFFFF
##2D74261.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77691C
Deuteranopia (green-blind)
#6E632D
Tritanopia (blue-blind)
#227064
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2d7426;
/* rgb */ color: rgb(45, 116, 38);
/* oklch */ color: oklch(49.6% 0.133 141.8);
Tailwind
colors: {
  custom: {
    50: '#6f9d64',
    500: '#2d7426',
    950: '#000000',
  },
}
SCSS
$custom: #2d7426;
$custom-light: #6f9d64;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7426",
  "rgb": {
    "r": 45,
    "g": 116,
    "b": 38
  },
  "hsl": {
    "h": 114.615,
    "s": 50.649,
    "l": 30.196
  },
  "oklch": {
    "l": 0.49623,
    "c": 0.13307,
    "h": 141.8
  },
  "luminance": 0.13189
}

Semantic roles & 50–950 ramp

primary
#2D7426
secondary
#9F4FA6
accent
#4EDACE
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2D7426

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

Preview Lab → · Contrast checker → · Palette generator →

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