#0D4F20#0D4F20

#0D4F20 is a dark, moderate green. Relative luminance 0.058; OKLCH L 37.6% C 0.100 H 148.2°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#0D4F20
RGBrgb(13, 79, 32)
HSLhsl(137, 72%, 18%)
HSVhsv(137, 84%, 31%)
CMYKcmyk(83.5%, 0%, 59.5%, 69%)
CIE-LABlab(28.85, -31.51, 21.95)
CIE-LCHlch(28.85, 38.40, 145.14°)
OKLaboklab(37.61% -0.0847 0.0526)
OKLCHoklch(37.61% 0.1 148.2)
XYZxyz(3.2224, 5.7814, 2.3123)
Luminance0.0578 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D4F20 #4F0D3C
analogous
#1B4F0D #0D4F20 #0D4F41
triadic
#0D4F20 #200D4F #4F200D
tetradic
#0D4F20 #0D1B4F #4F0D3C #4F410D
square
#0D4F20 #0D1B4F #4F0D3C #4F410D
split-complementary
#0D4F20 #410D4F #4F0D1B
monochromatic
#041A0B #041A0B #0D4F20 #168435 #1EB84B

Accessibility & contrast

On white

9.74
#0D4F20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#0D4F20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D4F20
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D4F20#FFFFFF#000000##FFFFFF
##0D4F201.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50471C
Deuteranopia (green-blind)
#484224
Tritanopia (blue-blind)
#004D44
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #0d4f20;
/* rgb */ color: rgb(13, 79, 32);
/* oklch */ color: oklch(37.6% 0.100 148.2);
Tailwind
colors: {
  custom: {
    50: '#58815d',
    500: '#0d4f20',
    950: '#000000',
  },
}
SCSS
$custom: #0d4f20;
$custom-light: #58815d;
$custom-dark: #000000;
JSON
{
  "hex": "#0d4f20",
  "rgb": {
    "r": 13,
    "g": 79,
    "b": 32
  },
  "hsl": {
    "h": 137.273,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.37615,
    "c": 0.09974,
    "h": 148.2
  },
  "luminance": 0.05782
}

Semantic roles & 50–950 ramp

primary
#0D4F20
secondary
#8A2E6F
accent
#39BAEE
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #0D4F20

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

Preview Lab → · Contrast checker → · Palette generator →

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