#2D4B2F#2D4B2F

#2D4B2F is a dark, muted green. Relative luminance 0.058; OKLCH L 38.1% C 0.059 H 145.8°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#2D4B2F
RGBrgb(45, 75, 47)
HSLhsl(124, 25%, 24%)
HSVhsv(124, 40%, 29%)
CMYKcmyk(40%, 0%, 37.3%, 70.6%)
CIE-LABlab(28.89, -17.97, 13.26)
CIE-LCHlch(28.89, 22.34, 143.58°)
OKLaboklab(38.07% -0.049 0.0333)
OKLCHoklch(38.07% 0.059 145.8)
XYZxyz(4.1112, 5.7951, 3.5907)
Luminance0.0580 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4B2F #4B2D49
analogous
#3A4B2D #2D4B2F #2D4B3E
triadic
#2D4B2F #2F2D4B #4B2F2D
tetradic
#2D4B2F #2D3A4B #4B2D49 #4B3E2D
square
#2D4B2F #2D3A4B #4B2D49 #4B3E2D
split-complementary
#2D4B2F #3E2D4B #4B2D3A
monochromatic
#0B130C #162517 #2D4B2F #447147 #5B975F

Accessibility & contrast

On white

9.73
#2D4B2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2D4B2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4B2F
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4B2F#FFFFFF#000000##FFFFFF
##2D4B2F1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C462D
Deuteranopia (green-blind)
#474331
Tritanopia (blue-blind)
#294A44
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2d4b2f;
/* rgb */ color: rgb(45, 75, 47);
/* oklch */ color: oklch(38.1% 0.059 145.8);
Tailwind
colors: {
  custom: {
    50: '#677d67',
    500: '#2d4b2f',
    950: '#000000',
  },
}
SCSS
$custom: #2d4b2f;
$custom-light: #677d67;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4b2f",
  "rgb": {
    "r": 45,
    "g": 75,
    "b": 47
  },
  "hsl": {
    "h": 124,
    "s": 25,
    "l": 23.529
  },
  "oklch": {
    "l": 0.38069,
    "c": 0.05922,
    "h": 145.8
  },
  "luminance": 0.05795
}

Semantic roles & 50–950 ramp

primary
#2D4B2F
secondary
#7C577A
accent
#66BBC1
background
#F6F7F6
surface
#EBEEEB
border
#C6C9C6
text
#060906
muted
#7A7B7A

Preview Lab

Preview with #2D4B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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