#0D4F18#0D4F18

#0D4F18 is a dark, moderate green. Relative luminance 0.057; OKLCH L 37.5% C 0.107 H 145.3°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#0D4F18
RGBrgb(13, 79, 24)
HSLhsl(130, 72%, 18%)
HSVhsv(130, 84%, 31%)
CMYKcmyk(83.5%, 0%, 69.6%, 69%)
CIE-LABlab(28.75, -32.70, 26.14)
CIE-LCHlch(28.75, 41.87, 141.36°)
OKLaboklab(37.5% -0.0882 0.061)
OKLCHoklch(37.5% 0.107 145.3)
XYZxyz(3.1266, 5.7431, 1.8077)
Luminance0.0574 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D4F18 #4F0D44
analogous
#234F0D #0D4F18 #0D4F39
triadic
#0D4F18 #180D4F #4F180D
tetradic
#0D4F18 #0D234F #4F0D44 #4F390D
square
#0D4F18 #0D234F #4F0D44 #4F390D
split-complementary
#0D4F18 #390D4F #4F0D23
monochromatic
#041A08 #041A08 #0D4F18 #168428 #1EB838

Accessibility & contrast

On white

9.77
#0D4F18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D4F18
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D4F18#FFFFFF#000000##FFFFFF
##0D4F181.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504712
Deuteranopia (green-blind)
#49421D
Tritanopia (blue-blind)
#004D43
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #0d4f18;
/* rgb */ color: rgb(13, 79, 24);
/* oklch */ color: oklch(37.5% 0.107 145.3);
Tailwind
colors: {
  custom: {
    50: '#598157',
    500: '#0d4f18',
    950: '#000000',
  },
}
SCSS
$custom: #0d4f18;
$custom-light: #598157;
$custom-dark: #000000;
JSON
{
  "hex": "#0d4f18",
  "rgb": {
    "r": 13,
    "g": 79,
    "b": 24
  },
  "hsl": {
    "h": 130,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.37501,
    "c": 0.10723,
    "h": 145.3
  },
  "luminance": 0.05743
}

Semantic roles & 50–950 ramp

primary
#0D4F18
secondary
#8A2E7B
accent
#39D0EE
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #0D4F18

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

Preview Lab → · Contrast checker → · Palette generator →

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