#0D4C2A#0D4C2A

#0D4C2A is a dark, moderate green. Relative luminance 0.054; OKLCH L 36.9% C 0.085 H 154.2°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#0D4C2A
RGBrgb(13, 76, 42)
HSLhsl(148, 71%, 17%)
HSVhsv(148, 83%, 30%)
CMYKcmyk(82.9%, 0%, 44.7%, 70.2%)
CIE-LABlab(27.90, -28.32, 14.82)
CIE-LCHlch(27.90, 31.97, 152.37°)
OKLaboklab(36.88% -0.0763 0.0369)
OKLCHoklch(36.88% 0.085 154.2)
XYZxyz(3.1680, 5.4212, 3.0695)
Luminance0.0542 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D4C2A #4C0D2F
analogous
#0F4C0D #0D4C2A #0D4C4A
triadic
#0D4C2A #2A0D4C #4C2A0D
tetradic
#0D4C2A #0D0F4C #4C0D2F #4C4A0D
square
#0D4C2A #0D0F4C #4C0D2F #4C4A0D
split-complementary
#0D4C2A #4A0D4C #4C0D0F
monochromatic
#041A0E #041A0E #0D4C2A #168047 #1FB564

Accessibility & contrast

On white

10.07
#0D4C2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#0D4C2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D4C2A
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D4C2A#FFFFFF#000000##FFFFFF
##0D4C2A1.0010.072.0810.07
#FFFFFF10.071.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4528
Deuteranopia (green-blind)
#44402C
Tritanopia (blue-blind)
#004B44
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #0d4c2a;
/* rgb */ color: rgb(13, 76, 42);
/* oklch */ color: oklch(36.9% 0.085 154.2);
Tailwind
colors: {
  custom: {
    50: '#577f64',
    500: '#0d4c2a',
    950: '#000000',
  },
}
SCSS
$custom: #0d4c2a;
$custom-light: #577f64;
$custom-dark: #000000;
JSON
{
  "hex": "#0d4c2a",
  "rgb": {
    "r": 13,
    "g": 76,
    "b": 42
  },
  "hsl": {
    "h": 147.619,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.36882,
    "c": 0.08475,
    "h": 154.2
  },
  "luminance": 0.05422
}

Semantic roles & 50–950 ramp

primary
#0D4C2A
secondary
#872E5E
accent
#3A9BEE
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#040A05
muted
#797C79

Preview Lab

Preview with #0D4C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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