#2D511E#2D511E

#2D511E is a dark, moderate green. Relative luminance 0.065; OKLCH L 39.5% C 0.089 H 137.5°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#2D511E
RGBrgb(45, 81, 30)
HSLhsl(102, 46%, 22%)
HSVhsv(102, 63%, 32%)
CMYKcmyk(44.4%, 0%, 63%, 68.2%)
CIE-LABlab(30.73, -23.82, 25.56)
CIE-LCHlch(30.73, 34.94, 132.98°)
OKLaboklab(39.47% -0.0656 0.0602)
OKLCHoklch(39.47% 0.089 137.5)
XYZxyz(4.2588, 6.5363, 2.2653)
Luminance0.0654 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D511E #421E51
analogous
#47511E #2D511E #1E5129
triadic
#2D511E #1E2D51 #511E2D
tetradic
#2D511E #1E4751 #421E51 #51291E
square
#2D511E #1E4751 #421E51 #51291E
split-complementary
#2D511E #291E51 #511E47
monochromatic
#0C1608 #14240D #2D511E #467E2F #5FAA3F

Accessibility & contrast

On white

9.10
#2D511E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#2D511E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D511E
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D511E#FFFFFF#000000##FFFFFF
##2D511E1.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A19
Deuteranopia (green-blind)
#4F4722
Tritanopia (blue-blind)
#2B4E46
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2d511e;
/* rgb */ color: rgb(45, 81, 30);
/* oklch */ color: oklch(39.5% 0.089 137.5);
Tailwind
colors: {
  custom: {
    50: '#69825c',
    500: '#2d511e',
    950: '#000000',
  },
}
SCSS
$custom: #2d511e;
$custom-light: #69825c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d511e",
  "rgb": {
    "r": 45,
    "g": 81,
    "b": 30
  },
  "hsl": {
    "h": 102.353,
    "s": 45.946,
    "l": 21.765
  },
  "oklch": {
    "l": 0.39474,
    "c": 0.08903,
    "h": 137.5
  },
  "luminance": 0.06536
}

Semantic roles & 50–950 ramp

primary
#2D511E
secondary
#734586
accent
#52D6AF
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A04
muted
#7A7C79

Preview Lab

Preview with #2D511E

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

Preview Lab → · Contrast checker → · Palette generator →

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