#2D4B28#2D4B28

#2D4B28 is a dark, moderate green. Relative luminance 0.057; OKLCH L 37.9% C 0.068 H 140.9°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#2D4B28
RGBrgb(45, 75, 40)
HSLhsl(111, 30%, 23%)
HSVhsv(111, 47%, 29%)
CMYKcmyk(40%, 0%, 46.7%, 70.6%)
CIE-LABlab(28.75, -19.26, 17.40)
CIE-LCHlch(28.75, 25.96, 137.92°)
OKLaboklab(37.92% -0.0526 0.0427)
OKLCHoklch(37.92% 0.068 140.9)
XYZxyz(3.9811, 5.7430, 2.9058)
Luminance0.0574 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4B28 #46284B
analogous
#3E4B28 #2D4B28 #284B35
triadic
#2D4B28 #282D4B #4B282D
tetradic
#2D4B28 #283E4B #46284B #4B3528
square
#2D4B28 #283E4B #46284B #4B3528
split-complementary
#2D4B28 #35284B #4B283E
monochromatic
#0C140B #152313 #2D4B28 #45733D #5D9B53

Accessibility & contrast

On white

9.77
#2D4B28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2D4B28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4B28
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4B28#FFFFFF#000000##FFFFFF
##2D4B281.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4625
Deuteranopia (green-blind)
#48432A
Tritanopia (blue-blind)
#2B4942
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2d4b28;
/* rgb */ color: rgb(45, 75, 40);
/* oklch */ color: oklch(37.9% 0.068 140.9);
Tailwind
colors: {
  custom: {
    50: '#677d62',
    500: '#2d4b28',
    950: '#000000',
  },
}
SCSS
$custom: #2d4b28;
$custom-light: #677d62;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4b28",
  "rgb": {
    "r": 45,
    "g": 75,
    "b": 40
  },
  "hsl": {
    "h": 111.429,
    "s": 30.435,
    "l": 22.549
  },
  "oklch": {
    "l": 0.37915,
    "c": 0.06777,
    "h": 140.9
  },
  "luminance": 0.05743
}

Semantic roles & 50–950 ramp

primary
#2D4B28
secondary
#77517D
accent
#61C7B8
background
#F6F7F5
surface
#EBEEEA
border
#C6C9C6
text
#060905
muted
#7A7B79

Preview Lab

Preview with #2D4B28

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

Preview Lab → · Contrast checker → · Palette generator →

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