#0D3A04#0D3A04

#0D3A04 is a dark, moderate green. Relative luminance 0.031; OKLCH L 30.6% C 0.094 H 140.6°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#0D3A04
RGBrgb(13, 58, 4)
HSLhsl(110, 87%, 12%)
HSVhsv(110, 93%, 23%)
CMYKcmyk(77.6%, 0%, 93.1%, 77.3%)
CIE-LABlab(20.52, -26.63, 26.40)
CIE-LCHlch(20.52, 37.50, 135.24°)
OKLaboklab(30.61% -0.0729 0.0598)
OKLCHoklch(30.61% 0.094 140.6)
XYZxyz(1.7009, 3.1203, 0.6275)
Luminance0.0312 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D3A04 #31043A
analogous
#283A04 #0D3A04 #043A16
triadic
#0D3A04 #040D3A #3A040D
tetradic
#0D3A04 #04283A #31043A #3A1604
square
#0D3A04 #04283A #31043A #3A1604
split-complementary
#0D3A04 #16043A #3A0428
monochromatic
#061D02 #061D02 #0D3A04 #1A7308 #27AD0C

Accessibility & contrast

On white

12.93
#0D3A04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#0D3A04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D3A04
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D3A04#FFFFFF#000000##FFFFFF
##0D3A041.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3400
Deuteranopia (green-blind)
#37300A
Tritanopia (blue-blind)
#053830
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #0d3a04;
/* rgb */ color: rgb(13, 58, 4);
/* oklch */ color: oklch(30.6% 0.094 140.6);
Tailwind
colors: {
  custom: {
    50: '#547149',
    500: '#0d3a04',
    950: '#000000',
  },
}
SCSS
$custom: #0d3a04;
$custom-light: #547149;
$custom-dark: #000000;
JSON
{
  "hex": "#0d3a04",
  "rgb": {
    "r": 13,
    "g": 58,
    "b": 4
  },
  "hsl": {
    "h": 110,
    "s": 87.097,
    "l": 12.157
  },
  "oklch": {
    "l": 0.3061,
    "c": 0.09432,
    "h": 140.6
  },
  "luminance": 0.0312
}

Semantic roles & 50–950 ramp

primary
#0D3A04
secondary
#6C1E7C
accent
#2BFDDA
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#030701
muted
#787A77

Preview Lab

Preview with #0D3A04

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

Preview Lab → · Contrast checker → · Palette generator →

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