#0D331B#0D331B

#0D331B is a dark, moderate green. Relative luminance 0.025; OKLCH L 28.7% C 0.061 H 152.5°. Best body text is #FFFFFF at 13.94:1 contrast (WCAG AA passes).

Color values

HEX#0D331B
RGBrgb(13, 51, 27)
HSLhsl(142, 59%, 13%)
HSVhsv(142, 75%, 20%)
CMYKcmyk(74.5%, 0%, 47.1%, 80%)
CIE-LABlab(18.06, -20.10, 11.39)
CIE-LCHlch(18.06, 23.10, 150.46°)
OKLaboklab(28.68% -0.0543 0.0283)
OKLCHoklch(28.68% 0.061 152.5)
XYZxyz(1.5475, 2.5322, 1.4439)
Luminance0.0253 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D331B #330D25
analogous
#12330D #0D331B #0D332E
triadic
#0D331B #1B0D33 #331B0D
tetradic
#0D331B #0D1233 #330D25 #332E0D
square
#0D331B #0D1233 #330D25 #332E0D
split-complementary
#0D331B #2E0D33 #330D12
monochromatic
#06180D #06180D #0D331B #196435 #26954F

Accessibility & contrast

On white

13.94
#0D331B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D331B
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D331B#FFFFFF#000000##FFFFFF
##0D331B1.0013.941.5113.94
#FFFFFF13.941.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332E19
Deuteranopia (green-blind)
#2E2B1D
Tritanopia (blue-blind)
#02322D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #0d331b;
/* rgb */ color: rgb(13, 51, 27);
/* oklch */ color: oklch(28.7% 0.061 152.5);
Tailwind
colors: {
  custom: {
    50: '#516b57',
    500: '#0d331b',
    950: '#000000',
  },
}
SCSS
$custom: #0d331b;
$custom-light: #516b57;
$custom-dark: #000000;
JSON
{
  "hex": "#0d331b",
  "rgb": {
    "r": 13,
    "g": 51,
    "b": 27
  },
  "hsl": {
    "h": 142.105,
    "s": 59.375,
    "l": 12.549
  },
  "oklch": {
    "l": 0.28677,
    "c": 0.0613,
    "h": 152.5
  },
  "luminance": 0.02532
}

Semantic roles & 50–950 ramp

primary
#0D331B
secondary
#6E2E56
accent
#45A9E3
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020603
muted
#787A78

Preview Lab

Preview with #0D331B

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

Preview Lab → · Contrast checker → · Palette generator →

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