#2D511D#2D511D

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

Color values

HEX#2D511D
RGBrgb(45, 81, 29)
HSLhsl(102, 47%, 22%)
HSVhsv(102, 64%, 32%)
CMYKcmyk(44.4%, 0%, 64.2%, 68.2%)
CIE-LABlab(30.71, -23.94, 26.08)
CIE-LCHlch(30.71, 35.40, 132.55°)
OKLaboklab(39.46% -0.066 0.0612)
OKLCHoklch(39.46% 0.09 137.2)
XYZxyz(4.2463, 6.5312, 2.1991)
Luminance0.0653 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D511D #411D51
analogous
#47511D #2D511D #1D5127
triadic
#2D511D #1D2D51 #511D2D
tetradic
#2D511D #1D4751 #411D51 #51271D
square
#2D511D #1D4751 #411D51 #51271D
split-complementary
#2D511D #271D51 #511D47
monochromatic
#0D1708 #14240D #2D511D #467E2D #5FAB3D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D511D#FFFFFF#000000##FFFFFF
##2D511D1.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)
#544A18
Deuteranopia (green-blind)
#4F4721
Tritanopia (blue-blind)
#2B4E46
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2d511d;
/* rgb */ color: rgb(45, 81, 29);
/* oklch */ color: oklch(39.5% 0.090 137.2);
Tailwind
colors: {
  custom: {
    50: '#69825b',
    500: '#2d511d',
    950: '#000000',
  },
}
SCSS
$custom: #2d511d;
$custom-light: #69825b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d511d",
  "rgb": {
    "r": 45,
    "g": 81,
    "b": 29
  },
  "hsl": {
    "h": 101.538,
    "s": 47.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.39461,
    "c": 0.09002,
    "h": 137.2
  },
  "luminance": 0.06531
}

Semantic roles & 50–950 ramp

primary
#2D511D
secondary
#724486
accent
#51D7AE
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A04
muted
#7A7C79

Preview Lab

Preview with #2D511D

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

Preview Lab → · Contrast checker → · Palette generator →

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