#2D513D#2D513D

#2D513D is a dark, muted green. Relative luminance 0.068; OKLCH L 40.1% C 0.054 H 158.4°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#2D513D
RGBrgb(45, 81, 61)
HSLhsl(147, 29%, 25%)
HSVhsv(147, 44%, 32%)
CMYKcmyk(44.4%, 0%, 24.7%, 68.2%)
CIE-LABlab(31.30, -18.21, 7.77)
CIE-LCHlch(31.30, 19.80, 156.89°)
OKLaboklab(40.13% -0.0503 0.0199)
OKLCHoklch(40.13% 0.054 158.4)
XYZxyz(4.8666, 6.7794, 5.4661)
Luminance0.0678 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D513D #512D41
analogous
#2F512D #2D513D #2D514F
triadic
#2D513D #3D2D51 #513D2D
tetradic
#2D513D #2D2F51 #512D41 #514F2D
square
#2D513D #2D2F51 #512D41 #514F2D
split-complementary
#2D513D #4F2D51 #512D2F
monochromatic
#0B140F #172A1F #2D513D #43785B #59A078

Accessibility & contrast

On white

8.91
#2D513D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2D513D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D513D
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D513D#FFFFFF#000000##FFFFFF
##2D513D1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504C3C
Deuteranopia (green-blind)
#4B483E
Tritanopia (blue-blind)
#25514B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2d513d;
/* rgb */ color: rgb(45, 81, 61);
/* oklch */ color: oklch(40.1% 0.054 158.4);
Tailwind
colors: {
  custom: {
    50: '#688272',
    500: '#2d513d',
    950: '#000000',
  },
}
SCSS
$custom: #2d513d;
$custom-light: #688272;
$custom-dark: #000000;
JSON
{
  "hex": "#2d513d",
  "rgb": {
    "r": 45,
    "g": 81,
    "b": 61
  },
  "hsl": {
    "h": 146.667,
    "s": 28.571,
    "l": 24.706
  },
  "oklch": {
    "l": 0.40127,
    "c": 0.0541,
    "h": 158.4
  },
  "luminance": 0.0678
}

Semantic roles & 50–950 ramp

primary
#2D513D
secondary
#83576F
accent
#6399C5
background
#F6F7F6
surface
#EBEEEC
border
#C6C9C7
text
#060A08
muted
#7A7C7B

Preview Lab

Preview with #2D513D

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

Preview Lab → · Contrast checker → · Palette generator →

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