#0D400C#0D400C

#0D400C is a dark, moderate green. Relative luminance 0.038; OKLCH L 32.6% C 0.096 H 142.7°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#0D400C
RGBrgb(13, 64, 12)
HSLhsl(119, 68%, 15%)
HSVhsv(119, 81%, 25%)
CMYKcmyk(79.7%, 0%, 81.2%, 74.9%)
CIE-LABlab(22.93, -28.25, 25.68)
CIE-LCHlch(22.93, 38.18, 137.73°)
OKLaboklab(32.63% -0.0768 0.0584)
OKLCHoklch(32.63% 0.096 142.7)
XYZxyz(2.0656, 3.7787, 0.9683)
Luminance0.0378 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D400C #3F0C40
analogous
#27400C #0D400C #0C4025
triadic
#0D400C #0C0D40 #400C0D
tetradic
#0D400C #0C2740 #3F0C40 #40250C
square
#0D400C #0C2740 #3F0C40 #40250C
split-complementary
#0D400C #250C40 #400C27
monochromatic
#051A05 #051A05 #0D400C #177416 #22A71F

Accessibility & contrast

On white

11.96
#0D400C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#0D400C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D400C
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D400C#FFFFFF#000000##FFFFFF
##0D400C1.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423905
Deuteranopia (green-blind)
#3C3511
Tritanopia (blue-blind)
#023E36
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #0d400c;
/* rgb */ color: rgb(13, 64, 12);
/* oklch */ color: oklch(32.6% 0.096 142.7);
Tailwind
colors: {
  custom: {
    50: '#55754e',
    500: '#0d400c',
    950: '#000000',
  },
}
SCSS
$custom: #0d400c;
$custom-light: #55754e;
$custom-dark: #000000;
JSON
{
  "hex": "#0d400c",
  "rgb": {
    "r": 13,
    "g": 64,
    "b": 12
  },
  "hsl": {
    "h": 118.846,
    "s": 68.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.32627,
    "c": 0.09645,
    "h": 142.7
  },
  "luminance": 0.03779
}

Semantic roles & 50–950 ramp

primary
#0D400C
secondary
#7B2C7C
accent
#3DEBE8
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030802
muted
#787B78

Preview Lab

Preview with #0D400C

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

Preview Lab → · Contrast checker → · Palette generator →

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