#2D4E1F#2D4E1F

#2D4E1F is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.6% C 0.083 H 137.3°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#2D4E1F
RGBrgb(45, 78, 31)
HSLhsl(102, 43%, 21%)
HSVhsv(102, 60%, 31%)
CMYKcmyk(42.3%, 0%, 60.3%, 69.4%)
CIE-LABlab(29.68, -22.19, 23.78)
CIE-LCHlch(29.68, 32.53, 133.02°)
OKLaboklab(38.62% -0.0611 0.0564)
OKLCHoklch(38.62% 0.083 137.3)
XYZxyz(4.0538, 6.1054, 2.2609)
Luminance0.0611 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4E1F #401F4E
analogous
#454E1F #2D4E1F #1F4E29
triadic
#2D4E1F #1F2D4E #4E1F2D
tetradic
#2D4E1F #1F454E #401F4E #4E291F
square
#2D4E1F #1F454E #401F4E #4E291F
split-complementary
#2D4E1F #291F4E #4E1F45
monochromatic
#0D1609 #14220E #2D4E1F #467A30 #60A642

Accessibility & contrast

On white

9.45
#2D4E1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2D4E1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4E1F
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4E1F#FFFFFF#000000##FFFFFF
##2D4E1F1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51481B
Deuteranopia (green-blind)
#4C4522
Tritanopia (blue-blind)
#2B4B43
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2d4e1f;
/* rgb */ color: rgb(45, 78, 31);
/* oklch */ color: oklch(38.6% 0.083 137.3);
Tailwind
colors: {
  custom: {
    50: '#68805c',
    500: '#2d4e1f',
    950: '#000000',
  },
}
SCSS
$custom: #2d4e1f;
$custom-light: #68805c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4e1f",
  "rgb": {
    "r": 45,
    "g": 78,
    "b": 31
  },
  "hsl": {
    "h": 102.128,
    "s": 43.119,
    "l": 21.373
  },
  "oklch": {
    "l": 0.38621,
    "c": 0.08316,
    "h": 137.3
  },
  "luminance": 0.06106
}

Semantic roles & 50–950 ramp

primary
#2D4E1F
secondary
#714683
accent
#55D3AD
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A04
muted
#7A7C79

Preview Lab

Preview with #2D4E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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