#0D4F28#0D4F28

#0D4F28 is a dark, moderate green. Relative luminance 0.058; OKLCH L 37.8% C 0.091 H 152.0°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#0D4F28
RGBrgb(13, 79, 40)
HSLhsl(145, 72%, 18%)
HSVhsv(145, 84%, 31%)
CMYKcmyk(83.5%, 0%, 49.4%, 69%)
CIE-LABlab(28.98, -30.03, 17.44)
CIE-LCHlch(28.98, 34.73, 149.85°)
OKLaboklab(37.76% -0.0807 0.0429)
OKLCHoklch(37.76% 0.091 152)
XYZxyz(3.3447, 5.8303, 2.9562)
Luminance0.0583 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D4F28 #4F0D34
analogous
#134F0D #0D4F28 #0D4F49
triadic
#0D4F28 #280D4F #4F280D
tetradic
#0D4F28 #0D134F #4F0D34 #4F490D
square
#0D4F28 #0D134F #4F0D34 #4F490D
split-complementary
#0D4F28 #490D4F #4F0D13
monochromatic
#041A0D #041A0D #0D4F28 #168443 #1EB85D

Accessibility & contrast

On white

9.69
#0D4F28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D4F28
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D4F28#FFFFFF#000000##FFFFFF
##0D4F281.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4825
Deuteranopia (green-blind)
#48422B
Tritanopia (blue-blind)
#004E46
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #0d4f28;
/* rgb */ color: rgb(13, 79, 40);
/* oklch */ color: oklch(37.8% 0.091 152.0);
Tailwind
colors: {
  custom: {
    50: '#588162',
    500: '#0d4f28',
    950: '#000000',
  },
}
SCSS
$custom: #0d4f28;
$custom-light: #588162;
$custom-dark: #000000;
JSON
{
  "hex": "#0d4f28",
  "rgb": {
    "r": 13,
    "g": 79,
    "b": 40
  },
  "hsl": {
    "h": 144.545,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.37761,
    "c": 0.09144,
    "h": 152
  },
  "luminance": 0.05831
}

Semantic roles & 50–950 ramp

primary
#0D4F28
secondary
#8A2E64
accent
#39A4EE
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#040A05
muted
#797C79

Preview Lab

Preview with #0D4F28

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

Preview Lab → · Contrast checker → · Palette generator →

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