#0D4A0F#0D4A0F

#0D4A0F is a dark, moderate green. Relative luminance 0.050; OKLCH L 35.8% C 0.108 H 143.3°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#0D4A0F
RGBrgb(13, 74, 15)
HSLhsl(122, 70%, 17%)
HSVhsv(122, 82%, 29%)
CMYKcmyk(82.4%, 0%, 79.7%, 71%)
CIE-LABlab(26.78, -31.84, 28.31)
CIE-LCHlch(26.78, 42.61, 138.35°)
OKLaboklab(35.84% -0.0863 0.0644)
OKLCHoklch(35.84% 0.108 143.3)
XYZxyz(2.7008, 5.0173, 1.2779)
Luminance0.0502 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D4A0F #4A0D48
analogous
#2A4A0D #0D4A0F #0D4A2E
triadic
#0D4A0F #0F0D4A #4A0F0D
tetradic
#0D4A0F #0D2A4A #4A0D48 #4A2E0D
square
#0D4A0F #0D2A4A #4A0D48 #4A2E0D
split-complementary
#0D4A0F #2E0D4A #4A0D2A
monochromatic
#051A05 #051A05 #0D4A0F #167E1A #1FB224

Accessibility & contrast

On white

10.48
#0D4A0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#0D4A0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D4A0F
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D4A0F#FFFFFF#000000##FFFFFF
##0D4A0F1.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4206
Deuteranopia (green-blind)
#453D15
Tritanopia (blue-blind)
#00483E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #0d4a0f;
/* rgb */ color: rgb(13, 74, 15);
/* oklch */ color: oklch(35.8% 0.108 143.3);
Tailwind
colors: {
  custom: {
    50: '#587d51',
    500: '#0d4a0f',
    950: '#000000',
  },
}
SCSS
$custom: #0d4a0f;
$custom-light: #587d51;
$custom-dark: #000000;
JSON
{
  "hex": "#0d4a0f",
  "rgb": {
    "r": 13,
    "g": 74,
    "b": 15
  },
  "hsl": {
    "h": 121.967,
    "s": 70.115,
    "l": 17.059
  },
  "oklch": {
    "l": 0.35837,
    "c": 0.10767,
    "h": 143.3
  },
  "luminance": 0.05018
}

Semantic roles & 50–950 ramp

primary
#0D4A0F
secondary
#852E82
accent
#3BE7ED
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78

Preview Lab

Preview with #0D4A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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