#0D2F0C#0D2F0C

#0D2F0C is a dark, moderate green. Relative luminance 0.021; OKLCH L 27.1% C 0.071 H 142.8°. Best body text is #FFFFFF at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#0D2F0C
RGBrgb(13, 47, 12)
HSLhsl(118, 59%, 12%)
HSVhsv(118, 74%, 18%)
CMYKcmyk(72.3%, 0%, 74.5%, 81.6%)
CIE-LABlab(16.23, -20.94, 18.03)
CIE-LCHlch(16.23, 27.63, 139.27°)
OKLaboklab(27.09% -0.057 0.0432)
OKLCHoklch(27.09% 0.071 142.8)
XYZxyz(1.2488, 2.1450, 0.6960)
Luminance0.0215 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2F0C #2E0C2F
analogous
#1F2F0C #0D2F0C #0C2F1D
triadic
#0D2F0C #0C0D2F #2F0C0D
tetradic
#0D2F0C #0C1F2F #2E0C2F #2F1D0C
square
#0D2F0C #0C1F2F #2E0C2F #2F1D0C
split-complementary
#0D2F0C #1D0C2F #2F0C1F
monochromatic
#071806 #071806 #0D2F0C #1A6018 #289125

Accessibility & contrast

On white

14.70
#0D2F0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#0D2F0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D2F0C
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2F0C#FFFFFF#000000##FFFFFF
##0D2F0C1.0014.701.4314.70
#FFFFFF14.701.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A08
Deuteranopia (green-blind)
#2C270F
Tritanopia (blue-blind)
#072D28
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0d2f0c;
/* rgb */ color: rgb(13, 47, 12);
/* oklch */ color: oklch(27.1% 0.071 142.8);
Tailwind
colors: {
  custom: {
    50: '#50684c',
    500: '#0d2f0c',
    950: '#000000',
  },
}
SCSS
$custom: #0d2f0c;
$custom-light: #50684c;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2f0c",
  "rgb": {
    "r": 13,
    "g": 47,
    "b": 12
  },
  "hsl": {
    "h": 118.286,
    "s": 59.322,
    "l": 11.569
  },
  "oklch": {
    "l": 0.27086,
    "c": 0.07146,
    "h": 142.8
  },
  "luminance": 0.02145
}

Semantic roles & 50–950 ramp

primary
#0D2F0C
secondary
#692C6B
accent
#45E3DE
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #0D2F0C

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

Preview Lab → · Contrast checker → · Palette generator →

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