#0D4F0F#0D4F0F

#0D4F0F is a dark, moderate green. Relative luminance 0.057; OKLCH L 37.4% C 0.114 H 143.2°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#0D4F0F
RGBrgb(13, 79, 15)
HSLhsl(122, 72%, 18%)
HSVhsv(122, 84%, 31%)
CMYKcmyk(83.5%, 0%, 81%, 69%)
CIE-LABlab(28.67, -33.70, 30.24)
CIE-LCHlch(28.67, 45.28, 138.10°)
OKLaboklab(37.41% -0.0914 0.0684)
OKLCHoklch(37.41% 0.114 143.2)
XYZxyz(3.0480, 5.7117, 1.3937)
Luminance0.0571 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D4F0F #4F0D4D
analogous
#2C4F0D #0D4F0F #0D4F30
triadic
#0D4F0F #0F0D4F #4F0F0D
tetradic
#0D4F0F #0D2C4F #4F0D4D #4F300D
square
#0D4F0F #0D2C4F #4F0D4D #4F300D
split-complementary
#0D4F0F #300D4F #4F0D2C
monochromatic
#041A05 #041A05 #0D4F0F #168419 #1EB823

Accessibility & contrast

On white

9.80
#0D4F0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#0D4F0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D4F0F
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D4F0F#FFFFFF#000000##FFFFFF
##0D4F0F1.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514704
Deuteranopia (green-blind)
#4A4216
Tritanopia (blue-blind)
#004C43
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #0d4f0f;
/* rgb */ color: rgb(13, 79, 15);
/* oklch */ color: oklch(37.4% 0.114 143.2);
Tailwind
colors: {
  custom: {
    50: '#598152',
    500: '#0d4f0f',
    950: '#000000',
  },
}
SCSS
$custom: #0d4f0f;
$custom-light: #598152;
$custom-dark: #000000;
JSON
{
  "hex": "#0d4f0f",
  "rgb": {
    "r": 13,
    "g": 79,
    "b": 15
  },
  "hsl": {
    "h": 121.818,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.37406,
    "c": 0.11414,
    "h": 143.2
  },
  "luminance": 0.05712
}

Semantic roles & 50–950 ramp

primary
#0D4F0F
secondary
#8A2E87
accent
#39E9EE
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78

Preview Lab

Preview with #0D4F0F

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

Preview Lab → · Contrast checker → · Palette generator →

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