#2D511C#2D511C

#2D511C is a dark, moderate green. Relative luminance 0.065; OKLCH L 39.4% C 0.091 H 136.9°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#2D511C
RGBrgb(45, 81, 28)
HSLhsl(101, 49%, 21%)
HSVhsv(101, 65%, 32%)
CMYKcmyk(44.4%, 0%, 65.4%, 68.2%)
CIE-LABlab(30.70, -24.06, 26.59)
CIE-LCHlch(30.70, 35.86, 132.14°)
OKLaboklab(39.45% -0.0665 0.0622)
OKLCHoklch(39.45% 0.091 136.9)
XYZxyz(4.2341, 6.5264, 2.1350)
Luminance0.0653 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D511C #401C51
analogous
#48511C #2D511C #1C5126
triadic
#2D511C #1C2D51 #511C2D
tetradic
#2D511C #1C4851 #401C51 #51261C
square
#2D511C #1C4851 #401C51 #51261C
split-complementary
#2D511C #261C51 #511C48
monochromatic
#0D1708 #14240C #2D511C #467E2C #60AC3B

Accessibility & contrast

On white

9.11
#2D511C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D511C
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D511C#FFFFFF#000000##FFFFFF
##2D511C1.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d511c;
/* rgb */ color: rgb(45, 81, 28);
/* oklch */ color: oklch(39.4% 0.091 136.9);
Tailwind
colors: {
  custom: {
    50: '#69825a',
    500: '#2d511c',
    950: '#000000',
  },
}
SCSS
$custom: #2d511c;
$custom-light: #69825a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d511c",
  "rgb": {
    "r": 45,
    "g": 81,
    "b": 28
  },
  "hsl": {
    "h": 100.755,
    "s": 48.624,
    "l": 21.373
  },
  "oklch": {
    "l": 0.39447,
    "c": 0.091,
    "h": 136.9
  },
  "luminance": 0.06527
}

Semantic roles & 50–950 ramp

primary
#2D511C
secondary
#714287
accent
#50D8AC
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A04
muted
#7A7C79

Preview Lab

Preview with #2D511C

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

Preview Lab → · Contrast checker → · Palette generator →

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