#0D5812#0D5812

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

Color values

HEX#0D5812
RGBrgb(13, 88, 18)
HSLhsl(124, 74%, 20%)
HSVhsv(124, 85%, 35%)
CMYKcmyk(85.2%, 0%, 79.5%, 65.5%)
CIE-LABlab(32.05, -36.68, 32.42)
CIE-LCHlch(32.05, 48.95, 138.53°)
OKLaboklab(40.22% -0.0993 0.0734)
OKLCHoklch(40.22% 0.123 143.5)
XYZxyz(3.7646, 7.1082, 1.7458)
Luminance0.0711 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D5812 #580D53
analogous
#2E580D #0D5812 #0D5838
triadic
#0D5812 #120D58 #58120D
tetradic
#0D5812 #0D2E58 #580D53 #58380D
square
#0D5812 #0D2E58 #580D53 #58380D
split-complementary
#0D5812 #380D58 #580D2E
monochromatic
#041B05 #052307 #0D5812 #158D1D #1DC328

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0D5812#FFFFFF#000000##FFFFFF
##0D58121.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)
#5A4F05
Deuteranopia (green-blind)
#524919
Tritanopia (blue-blind)
#00554A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #0d5812;
/* rgb */ color: rgb(13, 88, 18);
/* oklch */ color: oklch(40.2% 0.123 143.5);
Tailwind
colors: {
  custom: {
    50: '#5c8855',
    500: '#0d5812',
    950: '#000000',
  },
}
SCSS
$custom: #0d5812;
$custom-light: #5c8855;
$custom-dark: #000000;
JSON
{
  "hex": "#0d5812",
  "rgb": {
    "r": 13,
    "g": 88,
    "b": 18
  },
  "hsl": {
    "h": 124,
    "s": 74.257,
    "l": 19.804
  },
  "oklch": {
    "l": 0.40223,
    "c": 0.12349,
    "h": 143.5
  },
  "luminance": 0.07109
}

Semantic roles & 50–950 ramp

primary
#0D5812
secondary
#932E8C
accent
#37E4F1
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #0D5812

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

Preview Lab → · Contrast checker → · Palette generator →

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