#2D5F1D#2D5F1D

#2D5F1D is a dark, moderate green. Relative luminance 0.088; OKLCH L 43.5% C 0.111 H 139.0°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#2D5F1D
RGBrgb(45, 95, 29)
HSLhsl(105, 53%, 24%)
HSVhsv(105, 69%, 37%)
CMYKcmyk(52.6%, 0%, 69.5%, 62.7%)
CIE-LABlab(35.66, -30.49, 31.60)
CIE-LCHlch(35.66, 43.91, 133.97°)
OKLaboklab(43.51% -0.0839 0.0729)
OKLCHoklch(43.51% 0.111 139)
XYZxyz(5.3960, 8.8306, 2.5823)
Luminance0.0883 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5F1D #4F1D5F
analogous
#4E5F1D #2D5F1D #1D5F2E
triadic
#2D5F1D #1D2D5F #5F1D2D
tetradic
#2D5F1D #1D4E5F #4F1D5F #5F2E1D
square
#2D5F1D #1D4E5F #4F1D5F #5F2E1D
split-complementary
#2D5F1D #2E1D5F #5F1D4E
monochromatic
#0B1707 #17300F #2D5F1D #438E2B #59BD3A

Accessibility & contrast

On white

7.59
#2D5F1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#2D5F1D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5F1D
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5F1D#FFFFFF#000000##FFFFFF
##2D5F1D1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625715
Deuteranopia (green-blind)
#5B5223
Tritanopia (blue-blind)
#295C51
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2d5f1d;
/* rgb */ color: rgb(45, 95, 29);
/* oklch */ color: oklch(43.5% 0.111 139.0);
Tailwind
colors: {
  custom: {
    50: '#6b8d5c',
    500: '#2d5f1d',
    950: '#000000',
  },
}
SCSS
$custom: #2d5f1d;
$custom-light: #6b8d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5f1d",
  "rgb": {
    "r": 45,
    "g": 95,
    "b": 29
  },
  "hsl": {
    "h": 105.455,
    "s": 53.226,
    "l": 24.314
  },
  "oklch": {
    "l": 0.4351,
    "c": 0.11114,
    "h": 139
  },
  "luminance": 0.08831
}

Semantic roles & 50–950 ramp

primary
#2D5F1D
secondary
#814494
accent
#4BDDB9
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2D5F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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