#2D501D#2D501D

#2D501D is a dark, moderate green. Relative luminance 0.064; OKLCH L 39.2% C 0.088 H 137.0°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#2D501D
RGBrgb(45, 80, 29)
HSLhsl(101, 47%, 21%)
HSVhsv(101, 64%, 31%)
CMYKcmyk(43.7%, 0%, 63.7%, 68.6%)
CIE-LABlab(30.36, -23.45, 25.67)
CIE-LCHlch(30.36, 34.77, 132.41°)
OKLaboklab(39.17% -0.0647 0.0603)
OKLCHoklch(39.17% 0.088 137)
XYZxyz(4.1725, 6.3837, 2.1745)
Luminance0.0638 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D501D #401D50
analogous
#47501D #2D501D #1D5027
triadic
#2D501D #1D2D50 #501D2D
tetradic
#2D501D #1D4750 #401D50 #50271D
square
#2D501D #1D4750 #401D50 #50271D
split-complementary
#2D501D #271D50 #501D47
monochromatic
#0D1608 #14230D #2D501D #467D2D #60AA3E

Accessibility & contrast

On white

9.22
#2D501D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2D501D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D501D
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D501D#FFFFFF#000000##FFFFFF
##2D501D1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534918
Deuteranopia (green-blind)
#4E4621
Tritanopia (blue-blind)
#2B4D45
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2d501d;
/* rgb */ color: rgb(45, 80, 29);
/* oklch */ color: oklch(39.2% 0.088 137.0);
Tailwind
colors: {
  custom: {
    50: '#69815b',
    500: '#2d501d',
    950: '#000000',
  },
}
SCSS
$custom: #2d501d;
$custom-light: #69815b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d501d",
  "rgb": {
    "r": 45,
    "g": 80,
    "b": 29
  },
  "hsl": {
    "h": 101.176,
    "s": 46.789,
    "l": 21.373
  },
  "oklch": {
    "l": 0.39171,
    "c": 0.08844,
    "h": 137
  },
  "luminance": 0.06384
}

Semantic roles & 50–950 ramp

primary
#2D501D
secondary
#714485
accent
#51D6AD
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A04
muted
#7A7C79

Preview Lab

Preview with #2D501D

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

Preview Lab → · Contrast checker → · Palette generator →

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