#2D501E#2D501E

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

Color values

HEX#2D501E
RGBrgb(45, 80, 30)
HSLhsl(102, 45%, 22%)
HSVhsv(102, 63%, 31%)
CMYKcmyk(43.7%, 0%, 62.5%, 68.6%)
CIE-LABlab(30.37, -23.32, 25.15)
CIE-LCHlch(30.37, 34.30, 132.85°)
OKLaboklab(39.18% -0.0643 0.0593)
OKLCHoklch(39.18% 0.087 137.3)
XYZxyz(4.1851, 6.3887, 2.2407)
Luminance0.0639 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D501E #411E50
analogous
#46501E #2D501E #1E5028
triadic
#2D501E #1E2D50 #501E2D
tetradic
#2D501E #1E4650 #411E50 #50281E
square
#2D501E #1E4650 #411E50 #50281E
split-complementary
#2D501E #281E50 #501E46
monochromatic
#0D1608 #14230D #2D501E #467D2F #5FA93F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D501E#FFFFFF#000000##FFFFFF
##2D501E1.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)
#534919
Deuteranopia (green-blind)
#4E4622
Tritanopia (blue-blind)
#2B4D45
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2d501e;
/* rgb */ color: rgb(45, 80, 30);
/* oklch */ color: oklch(39.2% 0.087 137.3);
Tailwind
colors: {
  custom: {
    50: '#69815c',
    500: '#2d501e',
    950: '#000000',
  },
}
SCSS
$custom: #2d501e;
$custom-light: #69815c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d501e",
  "rgb": {
    "r": 45,
    "g": 80,
    "b": 30
  },
  "hsl": {
    "h": 102,
    "s": 45.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.39185,
    "c": 0.08743,
    "h": 137.3
  },
  "luminance": 0.06389
}

Semantic roles & 50–950 ramp

primary
#2D501E
secondary
#724585
accent
#53D5AE
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A04
muted
#7A7C79

Preview Lab

Preview with #2D501E

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

Preview Lab → · Contrast checker → · Palette generator →

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