#0D5712#0D5712

#0D5712 is a dark, vivid green. Relative luminance 0.069; OKLCH L 39.9% C 0.122 H 143.6°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#0D5712
RGBrgb(13, 87, 18)
HSLhsl(124, 74%, 20%)
HSVhsv(124, 85%, 34%)
CMYKcmyk(85.1%, 0%, 79.3%, 65.9%)
CIE-LABlab(31.68, -36.33, 32.04)
CIE-LCHlch(31.68, 48.44, 138.59°)
OKLaboklab(39.92% -0.0984 0.0726)
OKLCHoklch(39.92% 0.122 143.6)
XYZxyz(3.6831, 6.9452, 1.7186)
Luminance0.0695 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D5712 #570D52
analogous
#2D570D #0D5712 #0D5737
triadic
#0D5712 #120D57 #57120D
tetradic
#0D5712 #0D2D57 #570D52 #57370D
square
#0D5712 #0D2D57 #570D52 #57370D
split-complementary
#0D5712 #370D57 #570D2D
monochromatic
#041B06 #052207 #0D5712 #158C1D #1DC128

Accessibility & contrast

On white

8.79
#0D5712 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#0D5712 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D5712
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D5712#FFFFFF#000000##FFFFFF
##0D57121.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E06
Deuteranopia (green-blind)
#514819
Tritanopia (blue-blind)
#00544A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #0d5712;
/* rgb */ color: rgb(13, 87, 18);
/* oklch */ color: oklch(39.9% 0.122 143.6);
Tailwind
colors: {
  custom: {
    50: '#5c8755',
    500: '#0d5712',
    950: '#000000',
  },
}
SCSS
$custom: #0d5712;
$custom-light: #5c8755;
$custom-dark: #000000;
JSON
{
  "hex": "#0d5712",
  "rgb": {
    "r": 13,
    "g": 87,
    "b": 18
  },
  "hsl": {
    "h": 124.054,
    "s": 74,
    "l": 19.608
  },
  "oklch": {
    "l": 0.39915,
    "c": 0.12224,
    "h": 143.6
  },
  "luminance": 0.06946
}

Semantic roles & 50–950 ramp

primary
#0D5712
secondary
#922E8B
accent
#37E4F1
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #0D5712

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

Preview Lab → · Contrast checker → · Palette generator →

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