#0D4C28#0D4C28

#0D4C28 is a dark, moderate green. Relative luminance 0.054; OKLCH L 36.8% C 0.087 H 152.9°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#0D4C28
RGBrgb(13, 76, 40)
HSLhsl(146, 71%, 17%)
HSVhsv(146, 83%, 30%)
CMYKcmyk(82.9%, 0%, 47.4%, 70.2%)
CIE-LABlab(27.86, -28.76, 16.00)
CIE-LCHlch(27.86, 32.91, 150.91°)
OKLaboklab(36.84% -0.0774 0.0396)
OKLCHoklch(36.84% 0.087 152.9)
XYZxyz(3.1331, 5.4073, 2.8857)
Luminance0.0541 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D4C28 #4C0D31
analogous
#124C0D #0D4C28 #0D4C47
triadic
#0D4C28 #280D4C #4C280D
tetradic
#0D4C28 #0D124C #4C0D31 #4C470D
square
#0D4C28 #0D124C #4C0D31 #4C470D
split-complementary
#0D4C28 #470D4C #4C0D12
monochromatic
#041A0E #041A0E #0D4C28 #168044 #1FB55F

Accessibility & contrast

On white

10.09
#0D4C28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D4C28
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D4C28#FFFFFF#000000##FFFFFF
##0D4C281.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4525
Deuteranopia (green-blind)
#45402A
Tritanopia (blue-blind)
#004B43
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #0d4c28;
/* rgb */ color: rgb(13, 76, 40);
/* oklch */ color: oklch(36.8% 0.087 152.9);
Tailwind
colors: {
  custom: {
    50: '#577f62',
    500: '#0d4c28',
    950: '#000000',
  },
}
SCSS
$custom: #0d4c28;
$custom-light: #577f62;
$custom-dark: #000000;
JSON
{
  "hex": "#0d4c28",
  "rgb": {
    "r": 13,
    "g": 76,
    "b": 40
  },
  "hsl": {
    "h": 145.714,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.36839,
    "c": 0.08691,
    "h": 152.9
  },
  "luminance": 0.05408
}

Semantic roles & 50–950 ramp

primary
#0D4C28
secondary
#872E61
accent
#3AA1EE
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#040A05
muted
#797C79

Preview Lab

Preview with #0D4C28

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

Preview Lab → · Contrast checker → · Palette generator →

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