#2D4E2F#2D4E2F

#2D4E2F is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.9% C 0.065 H 145.6°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#2D4E2F
RGBrgb(45, 78, 47)
HSLhsl(124, 27%, 24%)
HSVhsv(124, 42%, 31%)
CMYKcmyk(42.3%, 0%, 39.7%, 69.4%)
CIE-LABlab(29.94, -19.59, 14.66)
CIE-LCHlch(29.94, 24.47, 143.19°)
OKLaboklab(38.92% -0.0534 0.0366)
OKLCHoklch(38.92% 0.065 145.6)
XYZxyz(4.3195, 6.2117, 3.6601)
Luminance0.0621 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4E2F #4E2D4C
analogous
#3C4E2D #2D4E2F #2D4E40
triadic
#2D4E2F #2F2D4E #4E2F2D
tetradic
#2D4E2F #2D3C4E #4E2D4C #4E402D
square
#2D4E2F #2D3C4E #4E2D4C #4E402D
split-complementary
#2D4E2F #402D4E #4E2D3C
monochromatic
#0B130C #172718 #2D4E2F #437546 #5A9C5E

Accessibility & contrast

On white

9.36
#2D4E2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2D4E2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4E2F
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4E2F#FFFFFF#000000##FFFFFF
##2D4E2F1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F492D
Deuteranopia (green-blind)
#4A4531
Tritanopia (blue-blind)
#294C46
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2d4e2f;
/* rgb */ color: rgb(45, 78, 47);
/* oklch */ color: oklch(38.9% 0.065 145.6);
Tailwind
colors: {
  custom: {
    50: '#688067',
    500: '#2d4e2f',
    950: '#000000',
  },
}
SCSS
$custom: #2d4e2f;
$custom-light: #688067;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4e2f",
  "rgb": {
    "r": 45,
    "g": 78,
    "b": 47
  },
  "hsl": {
    "h": 123.636,
    "s": 26.829,
    "l": 24.118
  },
  "oklch": {
    "l": 0.38922,
    "c": 0.06471,
    "h": 145.6
  },
  "luminance": 0.06212
}

Semantic roles & 50–950 ramp

primary
#2D4E2F
secondary
#80577D
accent
#65BDC3
background
#F6F7F6
surface
#EBEEEB
border
#C6C9C6
text
#060A06
muted
#7A7C7A

Preview Lab

Preview with #2D4E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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