#2D5D1D#2D5D1D

#2D5D1D is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.9% C 0.108 H 138.8°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#2D5D1D
RGBrgb(45, 93, 29)
HSLhsl(105, 52%, 24%)
HSVhsv(105, 69%, 36%)
CMYKcmyk(51.6%, 0%, 68.8%, 63.5%)
CIE-LABlab(34.95, -29.59, 30.83)
CIE-LCHlch(34.95, 42.74, 133.83°)
OKLaboklab(42.93% -0.0814 0.0713)
OKLCHoklch(42.93% 0.108 138.8)
XYZxyz(5.2181, 8.4749, 2.5230)
Luminance0.0848 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5D1D #4D1D5D
analogous
#4D5D1D #2D5D1D #1D5D2D
triadic
#2D5D1D #1D2D5D #5D1D2D
tetradic
#2D5D1D #1D4D5D #4D1D5D #5D2D1D
square
#2D5D1D #1D4D5D #4D1D5D #5D2D1D
split-complementary
#2D5D1D #2D1D5D #5D1D4D
monochromatic
#0B1707 #162E0E #2D5D1D #448C2C #5ABA3A

Accessibility & contrast

On white

7.79
#2D5D1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#2D5D1D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5D1D
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5D1D#FFFFFF#000000##FFFFFF
##2D5D1D1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605515
Deuteranopia (green-blind)
#595122
Tritanopia (blue-blind)
#295A50
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2d5d1d;
/* rgb */ color: rgb(45, 93, 29);
/* oklch */ color: oklch(42.9% 0.108 138.8);
Tailwind
colors: {
  custom: {
    50: '#6b8b5c',
    500: '#2d5d1d',
    950: '#000000',
  },
}
SCSS
$custom: #2d5d1d;
$custom-light: #6b8b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5d1d",
  "rgb": {
    "r": 45,
    "g": 93,
    "b": 29
  },
  "hsl": {
    "h": 105,
    "s": 52.459,
    "l": 23.922
  },
  "oklch": {
    "l": 0.42933,
    "c": 0.10824,
    "h": 138.8
  },
  "luminance": 0.08475
}

Semantic roles & 50–950 ramp

primary
#2D5D1D
secondary
#7F4492
accent
#4CDCB8
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2D5D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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