#0D331F#0D331F

#0D331F is a dark, muted green. Relative luminance 0.026; OKLCH L 28.8% C 0.057 H 156.8°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#0D331F
RGBrgb(13, 51, 31)
HSLhsl(148, 59%, 13%)
HSVhsv(148, 75%, 20%)
CMYKcmyk(74.5%, 0%, 39.2%, 80%)
CIE-LABlab(18.15, -19.14, 8.85)
CIE-LCHlch(18.15, 21.09, 155.19°)
OKLaboklab(28.78% -0.052 0.0223)
OKLCHoklch(28.78% 0.057 156.8)
XYZxyz(1.5970, 2.5520, 1.7045)
Luminance0.0255 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D331F #330D21
analogous
#0E330D #0D331F #0D3332
triadic
#0D331F #1F0D33 #331F0D
tetradic
#0D331F #0D0E33 #330D21 #33320D
square
#0D331F #0D0E33 #330D21 #33320D
split-complementary
#0D331F #320D33 #330D0E
monochromatic
#06180F #06180F #0D331F #19643D #26955A

Accessibility & contrast

On white

13.90
#0D331F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#0D331F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D331F
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D331F#FFFFFF#000000##FFFFFF
##0D331F1.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332E1E
Deuteranopia (green-blind)
#2E2B20
Tritanopia (blue-blind)
#00332E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #0d331f;
/* rgb */ color: rgb(13, 51, 31);
/* oklch */ color: oklch(28.8% 0.057 156.8);
Tailwind
colors: {
  custom: {
    50: '#516b5a',
    500: '#0d331f',
    950: '#000000',
  },
}
SCSS
$custom: #0d331f;
$custom-light: #516b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#0d331f",
  "rgb": {
    "r": 13,
    "g": 51,
    "b": 31
  },
  "hsl": {
    "h": 148.421,
    "s": 59.375,
    "l": 12.549
  },
  "oklch": {
    "l": 0.28778,
    "c": 0.05663,
    "h": 156.8
  },
  "luminance": 0.02552
}

Semantic roles & 50–950 ramp

primary
#0D331F
secondary
#6E2E50
accent
#4598E3
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020604
muted
#787A79

Preview Lab

Preview with #0D331F

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

Preview Lab → · Contrast checker → · Palette generator →

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