#0D4813#0D4813

#0D4813 is a dark, moderate green. Relative luminance 0.048; OKLCH L 35.2% C 0.102 H 144.4°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#0D4813
RGBrgb(13, 72, 19)
HSLhsl(126, 69%, 17%)
HSVhsv(126, 82%, 28%)
CMYKcmyk(81.9%, 0%, 73.6%, 71.8%)
CIE-LABlab(26.06, -30.63, 25.67)
CIE-LCHlch(26.06, 39.96, 140.03°)
OKLaboklab(35.25% -0.0828 0.0594)
OKLCHoklch(35.25% 0.102 144.4)
XYZxyz(2.6007, 4.7670, 1.3990)
Luminance0.0477 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D4813 #480D42
analogous
#25480D #0D4813 #0D4831
triadic
#0D4813 #130D48 #48130D
tetradic
#0D4813 #0D2548 #480D42 #48310D
square
#0D4813 #0D2548 #480D42 #48310D
split-complementary
#0D4813 #310D48 #480D25
monochromatic
#051A07 #051A07 #0D4813 #167C21 #20B02E

Accessibility & contrast

On white

10.75
#0D4813 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#0D4813 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D4813
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D4813#FFFFFF#000000##FFFFFF
##0D48131.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49400C
Deuteranopia (green-blind)
#433C18
Tritanopia (blue-blind)
#00463D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #0d4813;
/* rgb */ color: rgb(13, 72, 19);
/* oklch */ color: oklch(35.2% 0.102 144.4);
Tailwind
colors: {
  custom: {
    50: '#577c53',
    500: '#0d4813',
    950: '#000000',
  },
}
SCSS
$custom: #0d4813;
$custom-light: #577c53;
$custom-dark: #000000;
JSON
{
  "hex": "#0d4813",
  "rgb": {
    "r": 13,
    "g": 72,
    "b": 19
  },
  "hsl": {
    "h": 126.102,
    "s": 69.412,
    "l": 16.667
  },
  "oklch": {
    "l": 0.35248,
    "c": 0.1019,
    "h": 144.4
  },
  "luminance": 0.04767
}

Semantic roles & 50–950 ramp

primary
#0D4813
secondary
#832D7B
accent
#3CDAEC
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040902
muted
#797B78

Preview Lab

Preview with #0D4813

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

Preview Lab → · Contrast checker → · Palette generator →

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