#2D4E25#2D4E25

#2D4E25 is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.7% C 0.077 H 139.7°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#2D4E25
RGBrgb(45, 78, 37)
HSLhsl(108, 36%, 23%)
HSVhsv(108, 53%, 31%)
CMYKcmyk(42.3%, 0%, 52.6%, 69.4%)
CIE-LABlab(29.76, -21.32, 20.46)
CIE-LCHlch(29.76, 29.55, 136.19°)
OKLaboklab(38.72% -0.0584 0.0495)
OKLCHoklch(38.72% 0.077 139.7)
XYZxyz(4.1404, 6.1400, 2.7169)
Luminance0.0614 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4E25 #46254E
analogous
#414E25 #2D4E25 #254E32
triadic
#2D4E25 #252D4E #4E252D
tetradic
#2D4E25 #25414E #46254E #4E3225
square
#2D4E25 #25414E #46254E #4E3225
split-complementary
#2D4E25 #32254E #4E2541
monochromatic
#0C150A #152411 #2D4E25 #457839 #5DA14C

Accessibility & contrast

On white

9.43
#2D4E25 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2D4E25 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4E25
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4E25#FFFFFF#000000##FFFFFF
##2D4E251.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504822
Deuteranopia (green-blind)
#4B4528
Tritanopia (blue-blind)
#2B4C44
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2d4e25;
/* rgb */ color: rgb(45, 78, 37);
/* oklch */ color: oklch(38.7% 0.077 139.7);
Tailwind
colors: {
  custom: {
    50: '#688060',
    500: '#2d4e25',
    950: '#000000',
  },
}
SCSS
$custom: #2d4e25;
$custom-light: #688060;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4e25",
  "rgb": {
    "r": 45,
    "g": 78,
    "b": 37
  },
  "hsl": {
    "h": 108.293,
    "s": 35.652,
    "l": 22.549
  },
  "oklch": {
    "l": 0.38719,
    "c": 0.07654,
    "h": 139.7
  },
  "luminance": 0.0614
}

Semantic roles & 50–950 ramp

primary
#2D4E25
secondary
#774E81
accent
#5CCCB6
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A05
muted
#7A7C79

Preview Lab

Preview with #2D4E25

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

Preview Lab → · Contrast checker → · Palette generator →

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