#2D581A#2D581A

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

Color values

HEX#2D581A
RGBrgb(45, 88, 26)
HSLhsl(102, 54%, 22%)
HSVhsv(102, 70%, 35%)
CMYKcmyk(48.9%, 0%, 70.5%, 65.5%)
CIE-LABlab(33.16, -27.62, 30.32)
CIE-LCHlch(33.16, 41.02, 132.33°)
OKLaboklab(41.45% -0.0763 0.0698)
OKLCHoklch(41.45% 0.103 137.5)
XYZxyz(4.7582, 7.6116, 2.1955)
Luminance0.0761 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D581A #451A58
analogous
#4C581A #2D581A #1A5826
triadic
#2D581A #1A2D58 #581A2D
tetradic
#2D581A #1A4C58 #451A58 #58261A
square
#2D581A #1A4C58 #451A58 #58261A
split-complementary
#2D581A #261A58 #581A4C
monochromatic
#0C1807 #15290C #2D581A #458728 #5DB636

Accessibility & contrast

On white

8.33
#2D581A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D581A
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D581A#FFFFFF#000000##FFFFFF
##2D581A1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d581a;
/* rgb */ color: rgb(45, 88, 26);
/* oklch */ color: oklch(41.5% 0.103 137.5);
Tailwind
colors: {
  custom: {
    50: '#6a875a',
    500: '#2d581a',
    950: '#000000',
  },
}
SCSS
$custom: #2d581a;
$custom-light: #6a875a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d581a",
  "rgb": {
    "r": 45,
    "g": 88,
    "b": 26
  },
  "hsl": {
    "h": 101.613,
    "s": 54.386,
    "l": 22.353
  },
  "oklch": {
    "l": 0.41452,
    "c": 0.10344,
    "h": 137.5
  },
  "luminance": 0.07612
}

Semantic roles & 50–950 ramp

primary
#2D581A
secondary
#76408E
accent
#4ADEB0
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #2D581A

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

Preview Lab → · Contrast checker → · Palette generator →

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