#0D4A18#0D4A18

#0D4A18 is a dark, moderate green. Relative luminance 0.050; OKLCH L 35.9% C 0.100 H 145.8°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#0D4A18
RGBrgb(13, 74, 24)
HSLhsl(131, 70%, 17%)
HSVhsv(131, 82%, 29%)
CMYKcmyk(82.4%, 0%, 67.6%, 71%)
CIE-LABlab(26.87, -30.76, 24.01)
CIE-LCHlch(26.87, 39.02, 142.02°)
OKLaboklab(35.94% -0.0829 0.0564)
OKLCHoklch(35.94% 0.1 145.8)
XYZxyz(2.7794, 5.0488, 1.6920)
Luminance0.0505 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D4A18 #4A0D3F
analogous
#204A0D #0D4A18 #0D4A37
triadic
#0D4A18 #180D4A #4A180D
tetradic
#0D4A18 #0D204A #4A0D3F #4A370D
square
#0D4A18 #0D204A #4A0D3F #4A370D
split-complementary
#0D4A18 #370D4A #4A0D20
monochromatic
#051A08 #051A08 #0D4A18 #167E29 #1FB23A

Accessibility & contrast

On white

10.45
#0D4A18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#0D4A18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D4A18
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D4A18#FFFFFF#000000##FFFFFF
##0D4A181.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4213
Deuteranopia (green-blind)
#443E1C
Tritanopia (blue-blind)
#00483F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #0d4a18;
/* rgb */ color: rgb(13, 74, 24);
/* oklch */ color: oklch(35.9% 0.100 145.8);
Tailwind
colors: {
  custom: {
    50: '#577d57',
    500: '#0d4a18',
    950: '#000000',
  },
}
SCSS
$custom: #0d4a18;
$custom-light: #577d57;
$custom-dark: #000000;
JSON
{
  "hex": "#0d4a18",
  "rgb": {
    "r": 13,
    "g": 74,
    "b": 24
  },
  "hsl": {
    "h": 130.82,
    "s": 70.115,
    "l": 17.059
  },
  "oklch": {
    "l": 0.3594,
    "c": 0.1003,
    "h": 145.8
  },
  "luminance": 0.05049
}

Semantic roles & 50–950 ramp

primary
#0D4A18
secondary
#852E75
accent
#3BCDED
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #0D4A18

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

Preview Lab → · Contrast checker → · Palette generator →

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