#2D581E#2D581E

#2D581E is a dark, moderate green. Relative luminance 0.076; OKLCH L 41.5% C 0.100 H 138.5°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#2D581E
RGBrgb(45, 88, 30)
HSLhsl(104, 49%, 23%)
HSVhsv(104, 66%, 35%)
CMYKcmyk(48.9%, 0%, 65.9%, 65.5%)
CIE-LABlab(33.20, -27.18, 28.39)
CIE-LCHlch(33.20, 39.30, 133.76°)
OKLaboklab(41.5% -0.0748 0.0662)
OKLCHoklch(41.5% 0.1 138.5)
XYZxyz(4.8061, 7.6308, 2.4477)
Luminance0.0763 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D581E #491E58
analogous
#4A581E #2D581E #1E582C
triadic
#2D581E #1E2D58 #581E2D
tetradic
#2D581E #1E4A58 #491E58 #582C1E
square
#2D581E #1E4A58 #491E58 #582C1E
split-complementary
#2D581E #2C1E58 #581E4A
monochromatic
#0C1708 #162A0E #2D581E #44862E #5CB33D

Accessibility & contrast

On white

8.31
#2D581E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2D581E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D581E
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D581E#FFFFFF#000000##FFFFFF
##2D581E1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5018
Deuteranopia (green-blind)
#554D23
Tritanopia (blue-blind)
#2A554C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2d581e;
/* rgb */ color: rgb(45, 88, 30);
/* oklch */ color: oklch(41.5% 0.100 138.5);
Tailwind
colors: {
  custom: {
    50: '#6a875c',
    500: '#2d581e',
    950: '#000000',
  },
}
SCSS
$custom: #2d581e;
$custom-light: #6a875c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d581e",
  "rgb": {
    "r": 45,
    "g": 88,
    "b": 30
  },
  "hsl": {
    "h": 104.483,
    "s": 49.153,
    "l": 23.137
  },
  "oklch": {
    "l": 0.41499,
    "c": 0.09991,
    "h": 138.5
  },
  "luminance": 0.07631
}

Semantic roles & 50–950 ramp

primary
#2D581E
secondary
#7A458D
accent
#4FD9B5
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #2D581E

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

Preview Lab → · Contrast checker → · Palette generator →

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