#0D4F2C#0D4F2C

#0D4F2C is a dark, moderate green. Relative luminance 0.059; OKLCH L 37.8% C 0.087 H 154.4°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#0D4F2C
RGBrgb(13, 79, 44)
HSLhsl(148, 72%, 18%)
HSVhsv(148, 84%, 31%)
CMYKcmyk(83.5%, 0%, 44.3%, 69%)
CIE-LABlab(29.05, -29.19, 15.11)
CIE-LCHlch(29.05, 32.87, 152.62°)
OKLaboklab(37.85% -0.0786 0.0376)
OKLCHoklch(37.85% 0.087 154.4)
XYZxyz(3.4163, 5.8590, 3.3332)
Luminance0.0586 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D4F2C #4F0D30
analogous
#0F4F0D #0D4F2C #0D4F4D
triadic
#0D4F2C #2C0D4F #4F2C0D
tetradic
#0D4F2C #0D0F4F #4F0D30 #4F4D0D
square
#0D4F2C #0D0F4F #4F0D30 #4F4D0D
split-complementary
#0D4F2C #4D0D4F #4F0D0F
monochromatic
#041A0F #041A0F #0D4F2C #168449 #1EB867

Accessibility & contrast

On white

9.67
#0D4F2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#0D4F2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D4F2C
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D4F2C#FFFFFF#000000##FFFFFF
##0D4F2C1.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F482A
Deuteranopia (green-blind)
#47422E
Tritanopia (blue-blind)
#004E46
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #0d4f2c;
/* rgb */ color: rgb(13, 79, 44);
/* oklch */ color: oklch(37.8% 0.087 154.4);
Tailwind
colors: {
  custom: {
    50: '#588165',
    500: '#0d4f2c',
    950: '#000000',
  },
}
SCSS
$custom: #0d4f2c;
$custom-light: #588165;
$custom-dark: #000000;
JSON
{
  "hex": "#0d4f2c",
  "rgb": {
    "r": 13,
    "g": 79,
    "b": 44
  },
  "hsl": {
    "h": 148.182,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.37845,
    "c": 0.08718,
    "h": 154.4
  },
  "luminance": 0.05859
}

Semantic roles & 50–950 ramp

primary
#0D4F2C
secondary
#8A2E5F
accent
#3999EE
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A05
muted
#797C7A

Preview Lab

Preview with #0D4F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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