#2D581C#2D581C

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

Color values

HEX#2D581C
RGBrgb(45, 88, 28)
HSLhsl(103, 52%, 23%)
HSVhsv(103, 68%, 35%)
CMYKcmyk(48.9%, 0%, 68.2%, 65.5%)
CIE-LABlab(33.18, -27.41, 29.37)
CIE-LCHlch(33.18, 40.17, 133.02°)
OKLaboklab(41.48% -0.0756 0.0681)
OKLCHoklch(41.48% 0.102 138)
XYZxyz(4.7814, 7.6209, 2.3174)
Luminance0.0762 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D581C #471C58
analogous
#4B581C #2D581C #1C5829
triadic
#2D581C #1C2D58 #581C2D
tetradic
#2D581C #1C4B58 #471C58 #58291C
square
#2D581C #1C4B58 #471C58 #58291C
split-complementary
#2D581C #291C58 #581C4B
monochromatic
#0C1707 #152A0D #2D581C #45862B #5CB53A

Accessibility & contrast

On white

8.32
#2D581C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#2D581C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D581C
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D581C#FFFFFF#000000##FFFFFF
##2D581C1.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5015
Deuteranopia (green-blind)
#554D21
Tritanopia (blue-blind)
#2A554B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2d581c;
/* rgb */ color: rgb(45, 88, 28);
/* oklch */ color: oklch(41.5% 0.102 138.0);
Tailwind
colors: {
  custom: {
    50: '#6a875b',
    500: '#2d581c',
    950: '#000000',
  },
}
SCSS
$custom: #2d581c;
$custom-light: #6a875b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d581c",
  "rgb": {
    "r": 45,
    "g": 88,
    "b": 28
  },
  "hsl": {
    "h": 103,
    "s": 51.724,
    "l": 22.745
  },
  "oklch": {
    "l": 0.41475,
    "c": 0.10172,
    "h": 138
  },
  "luminance": 0.07621
}

Semantic roles & 50–950 ramp

primary
#2D581C
secondary
#78428E
accent
#4DDBB3
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #2D581C

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

Preview Lab → · Contrast checker → · Palette generator →

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