#0D5811#0D5811

#0D5811 is a dark, vivid green. Relative luminance 0.071; OKLCH L 40.2% C 0.124 H 143.4°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#0D5811
RGBrgb(13, 88, 17)
HSLhsl(123, 74%, 20%)
HSVhsv(123, 85%, 35%)
CMYKcmyk(85.2%, 0%, 80.7%, 65.5%)
CIE-LABlab(32.04, -36.77, 32.81)
CIE-LCHlch(32.04, 49.28, 138.26°)
OKLaboklab(40.21% -0.0996 0.0741)
OKLCHoklch(40.21% 0.124 143.4)
XYZxyz(3.7566, 7.1050, 1.7036)
Luminance0.0711 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D5811 #580D54
analogous
#2F580D #0D5811 #0D5837
triadic
#0D5811 #110D58 #58110D
tetradic
#0D5811 #0D2F58 #580D54 #58370D
square
#0D5811 #0D2F58 #580D54 #58370D
split-complementary
#0D5811 #370D58 #580D2F
monochromatic
#041B05 #052307 #0D5811 #158D1B #1DC326

Accessibility & contrast

On white

8.67
#0D5811 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#0D5811 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D5811
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D5811#FFFFFF#000000##FFFFFF
##0D58111.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F04
Deuteranopia (green-blind)
#524919
Tritanopia (blue-blind)
#00554A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #0d5811;
/* rgb */ color: rgb(13, 88, 17);
/* oklch */ color: oklch(40.2% 0.124 143.4);
Tailwind
colors: {
  custom: {
    50: '#5c8855',
    500: '#0d5811',
    950: '#000000',
  },
}
SCSS
$custom: #0d5811;
$custom-light: #5c8855;
$custom-dark: #000000;
JSON
{
  "hex": "#0d5811",
  "rgb": {
    "r": 13,
    "g": 88,
    "b": 17
  },
  "hsl": {
    "h": 123.2,
    "s": 74.257,
    "l": 19.804
  },
  "oklch": {
    "l": 0.40214,
    "c": 0.12413,
    "h": 143.4
  },
  "luminance": 0.07105
}

Semantic roles & 50–950 ramp

primary
#0D5811
secondary
#932E8D
accent
#37E7F1
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #0D5811

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

Preview Lab → · Contrast checker → · Palette generator →

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