#0D4F0C#0D4F0C

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

Color values

HEX#0D4F0C
RGBrgb(13, 79, 12)
HSLhsl(119, 74%, 18%)
HSVhsv(119, 85%, 31%)
CMYKcmyk(83.5%, 0%, 84.8%, 69%)
CIE-LABlab(28.65, -33.96, 31.40)
CIE-LCHlch(28.65, 46.25, 137.24°)
OKLaboklab(37.38% -0.0922 0.0704)
OKLCHoklch(37.38% 0.116 142.7)
XYZxyz(3.0281, 5.7037, 1.2891)
Luminance0.0570 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D4F0C #4E0C4F
analogous
#2F4F0C #0D4F0C #0C4F2C
triadic
#0D4F0C #0C0D4F #4F0C0D
tetradic
#0D4F0C #0C2F4F #4E0C4F #4F2C0C
square
#0D4F0C #0C2F4F #4E0C4F #4F2C0C
split-complementary
#0D4F0C #2C0C4F #4F0C2F
monochromatic
#041B04 #041B04 #0D4F0C #168414 #1EB91C

Accessibility & contrast

On white

9.81
#0D4F0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D4F0C
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D4F0C#FFFFFF#000000##FFFFFF
##0D4F0C1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514700
Deuteranopia (green-blind)
#4A4214
Tritanopia (blue-blind)
#004C42
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #0d4f0c;
/* rgb */ color: rgb(13, 79, 12);
/* oklch */ color: oklch(37.4% 0.116 142.7);
Tailwind
colors: {
  custom: {
    50: '#5a8151',
    500: '#0d4f0c',
    950: '#000000',
  },
}
SCSS
$custom: #0d4f0c;
$custom-light: #5a8151;
$custom-dark: #000000;
JSON
{
  "hex": "#0d4f0c",
  "rgb": {
    "r": 13,
    "g": 79,
    "b": 12
  },
  "hsl": {
    "h": 119.104,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.37383,
    "c": 0.116,
    "h": 142.7
  },
  "luminance": 0.05704
}

Semantic roles & 50–950 ramp

primary
#0D4F0C
secondary
#892C8B
accent
#38F0EE
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78

Preview Lab

Preview with #0D4F0C

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

Preview Lab → · Contrast checker → · Palette generator →

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