#2D4F2F#2D4F2F

#2D4F2F is a dark, moderate green. Relative luminance 0.064; OKLCH L 39.2% C 0.067 H 145.5°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#2D4F2F
RGBrgb(45, 79, 47)
HSLhsl(124, 27%, 24%)
HSVhsv(124, 43%, 31%)
CMYKcmyk(43%, 0%, 40.5%, 69%)
CIE-LABlab(30.29, -20.12, 15.12)
CIE-LCHlch(30.29, 25.17, 143.07°)
OKLaboklab(39.21% -0.0548 0.0377)
OKLCHoklch(39.21% 0.067 145.5)
XYZxyz(4.3910, 6.3548, 3.6840)
Luminance0.0635 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4F2F #4F2D4D
analogous
#3C4F2D #2D4F2F #2D4F40
triadic
#2D4F2F #2F2D4F #4F2F2D
tetradic
#2D4F2F #2D3C4F #4F2D4D #4F402D
square
#2D4F2F #2D3C4F #4F2D4D #4F402D
split-complementary
#2D4F2F #402D4F #4F2D3C
monochromatic
#0B130C #172818 #2D4F2F #437646 #599D5D

Accessibility & contrast

On white

9.25
#2D4F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#2D4F2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4F2F
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4F2F#FFFFFF#000000##FFFFFF
##2D4F2F1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50492D
Deuteranopia (green-blind)
#4B4631
Tritanopia (blue-blind)
#294D47
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2d4f2f;
/* rgb */ color: rgb(45, 79, 47);
/* oklch */ color: oklch(39.2% 0.067 145.5);
Tailwind
colors: {
  custom: {
    50: '#688068',
    500: '#2d4f2f',
    950: '#000000',
  },
}
SCSS
$custom: #2d4f2f;
$custom-light: #688068;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4f2f",
  "rgb": {
    "r": 45,
    "g": 79,
    "b": 47
  },
  "hsl": {
    "h": 123.529,
    "s": 27.419,
    "l": 24.314
  },
  "oklch": {
    "l": 0.39206,
    "c": 0.0665,
    "h": 145.5
  },
  "luminance": 0.06355
}

Semantic roles & 50–950 ramp

primary
#2D4F2F
secondary
#81577E
accent
#64BEC4
background
#F6F7F6
surface
#EBEEEB
border
#C6C9C6
text
#060A06
muted
#7A7C7A

Preview Lab

Preview with #2D4F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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