#0D4D1F#0D4D1F

#0D4D1F is a dark, moderate green. Relative luminance 0.055; OKLCH L 37.0% C 0.098 H 148.1°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#0D4D1F
RGBrgb(13, 77, 31)
HSLhsl(137, 71%, 18%)
HSVhsv(137, 83%, 30%)
CMYKcmyk(83.1%, 0%, 59.7%, 69.8%)
CIE-LABlab(28.09, -30.87, 21.59)
CIE-LCHlch(28.09, 37.68, 145.03°)
OKLaboklab(36.98% -0.083 0.0518)
OKLCHoklch(36.98% 0.098 148.1)
XYZxyz(3.0669, 5.4919, 2.1945)
Luminance0.0549 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D4D1F #4D0D3B
analogous
#1B4D0D #0D4D1F #0D4D3F
triadic
#0D4D1F #1F0D4D #4D1F0D
tetradic
#0D4D1F #0D1B4D #4D0D3B #4D3F0D
square
#0D4D1F #0D1B4D #4D0D3B #4D3F0D
split-complementary
#0D4D1F #3F0D4D #4D0D1B
monochromatic
#041A0B #041A0B #0D4D1F #168134 #1FB649

Accessibility & contrast

On white

10.01
#0D4D1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#0D4D1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D4D1F
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D4D1F#FFFFFF#000000##FFFFFF
##0D4D1F1.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E451B
Deuteranopia (green-blind)
#474023
Tritanopia (blue-blind)
#004B43
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #0d4d1f;
/* rgb */ color: rgb(13, 77, 31);
/* oklch */ color: oklch(37.0% 0.098 148.1);
Tailwind
colors: {
  custom: {
    50: '#587f5c',
    500: '#0d4d1f',
    950: '#000000',
  },
}
SCSS
$custom: #0d4d1f;
$custom-light: #587f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#0d4d1f",
  "rgb": {
    "r": 13,
    "g": 77,
    "b": 31
  },
  "hsl": {
    "h": 136.875,
    "s": 71.111,
    "l": 17.647
  },
  "oklch": {
    "l": 0.3698,
    "c": 0.09784,
    "h": 148.1
  },
  "luminance": 0.05492
}

Semantic roles & 50–950 ramp

primary
#0D4D1F
secondary
#882E6F
accent
#3ABBEE
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #0D4D1F

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

Preview Lab → · Contrast checker → · Palette generator →

#0D4D1F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva