#0D4520#0D4520

#0D4520 is a dark, moderate green. Relative luminance 0.044; OKLCH L 34.5% C 0.085 H 150.2°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#0D4520
RGBrgb(13, 69, 32)
HSLhsl(140, 68%, 16%)
HSVhsv(140, 81%, 27%)
CMYKcmyk(81.2%, 0%, 53.6%, 72.9%)
CIE-LABlab(25.09, -27.36, 17.30)
CIE-LCHlch(25.09, 32.37, 147.68°)
OKLaboklab(34.5% -0.0736 0.0422)
OKLCHoklch(34.5% 0.085 150.2)
XYZxyz(2.5546, 4.4458, 2.0897)
Luminance0.0445 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D4520 #450D32
analogous
#16450D #0D4520 #0D453C
triadic
#0D4520 #200D45 #45200D
tetradic
#0D4520 #0D1645 #450D32 #453C0D
square
#0D4520 #0D1645 #450D32 #453C0D
split-complementary
#0D4520 #3C0D45 #450D16
monochromatic
#051A0C #051A0C #0D4520 #177838 #20AC50

Accessibility & contrast

On white

11.12
#0D4520 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#0D4520 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D4520
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D4520#FFFFFF#000000##FFFFFF
##0D45201.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453E1D
Deuteranopia (green-blind)
#3F3A23
Tritanopia (blue-blind)
#00443C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #0d4520;
/* rgb */ color: rgb(13, 69, 32);
/* oklch */ color: oklch(34.5% 0.085 150.2);
Tailwind
colors: {
  custom: {
    50: '#56795c',
    500: '#0d4520',
    950: '#000000',
  },
}
SCSS
$custom: #0d4520;
$custom-light: #56795c;
$custom-dark: #000000;
JSON
{
  "hex": "#0d4520",
  "rgb": {
    "r": 13,
    "g": 69,
    "b": 32
  },
  "hsl": {
    "h": 140.357,
    "s": 68.293,
    "l": 16.078
  },
  "oklch": {
    "l": 0.34503,
    "c": 0.08485,
    "h": 150.2
  },
  "luminance": 0.04446
}

Semantic roles & 50–950 ramp

primary
#0D4520
secondary
#802D64
accent
#3DB0EB
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030904
muted
#787B79

Preview Lab

Preview with #0D4520

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

Preview Lab → · Contrast checker → · Palette generator →

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