#0D4F1B#0D4F1B

#0D4F1B is a dark, moderate green. Relative luminance 0.058; OKLCH L 37.5% C 0.105 H 146.3°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#0D4F1B
RGBrgb(13, 79, 27)
HSLhsl(133, 72%, 18%)
HSVhsv(133, 84%, 31%)
CMYKcmyk(83.5%, 0%, 65.8%, 69%)
CIE-LABlab(28.79, -32.29, 24.62)
CIE-LCHlch(28.79, 40.60, 142.68°)
OKLaboklab(37.54% -0.087 0.058)
OKLCHoklch(37.54% 0.105 146.3)
XYZxyz(3.1596, 5.7563, 1.9813)
Luminance0.0576 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D4F1B #4F0D41
analogous
#204F0D #0D4F1B #0D4F3C
triadic
#0D4F1B #1B0D4F #4F1B0D
tetradic
#0D4F1B #0D204F #4F0D41 #4F3C0D
square
#0D4F1B #0D204F #4F0D41 #4F3C0D
split-complementary
#0D4F1B #3C0D4F #4F0D20
monochromatic
#041A09 #041A09 #0D4F1B #16842D #1EB83F

Accessibility & contrast

On white

9.76
#0D4F1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#0D4F1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D4F1B
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D4F1B#FFFFFF#000000##FFFFFF
##0D4F1B1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504715
Deuteranopia (green-blind)
#49421F
Tritanopia (blue-blind)
#004D44
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #0d4f1b;
/* rgb */ color: rgb(13, 79, 27);
/* oklch */ color: oklch(37.5% 0.105 146.3);
Tailwind
colors: {
  custom: {
    50: '#598159',
    500: '#0d4f1b',
    950: '#000000',
  },
}
SCSS
$custom: #0d4f1b;
$custom-light: #598159;
$custom-dark: #000000;
JSON
{
  "hex": "#0d4f1b",
  "rgb": {
    "r": 13,
    "g": 79,
    "b": 27
  },
  "hsl": {
    "h": 132.727,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.3754,
    "c": 0.10455,
    "h": 146.3
  },
  "luminance": 0.05757
}

Semantic roles & 50–950 ramp

primary
#0D4F1B
secondary
#8A2E76
accent
#39C8EE
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #0D4F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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