#0F311D#0F311D

#0F311D is a dark, muted green. Relative luminance 0.024; OKLCH L 28.2% C 0.054 H 154.8°. Best body text is #FFFFFF at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#0F311D
RGBrgb(15, 49, 29)
HSLhsl(145, 53%, 13%)
HSVhsv(145, 69%, 19%)
CMYKcmyk(69.4%, 0%, 40.8%, 80.8%)
CIE-LABlab(17.40, -18.07, 9.19)
CIE-LCHlch(17.40, 20.27, 153.05°)
OKLaboklab(28.17% -0.0491 0.0231)
OKLCHoklch(28.17% 0.054 154.8)
XYZxyz(1.5170, 2.3867, 1.5429)
Luminance0.0239 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F311D #310F23
analogous
#12310F #0F311D #0F312E
triadic
#0F311D #1D0F31 #311D0F
tetradic
#0F311D #0F1231 #310F23 #312E0F
square
#0F311D #0F1231 #310F23 #312E0F
split-complementary
#0F311D #2E0F31 #310F12
monochromatic
#07170E #07170E #0F311D #1D6039 #2C8F54

Accessibility & contrast

On white

14.21
#0F311D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#0F311D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F311D
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F311D#FFFFFF#000000##FFFFFF
##0F311D1.0014.211.4814.21
#FFFFFF14.211.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312D1C
Deuteranopia (green-blind)
#2C291E
Tritanopia (blue-blind)
#05302C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0f311d;
/* rgb */ color: rgb(15, 49, 29);
/* oklch */ color: oklch(28.2% 0.054 154.8);
Tailwind
colors: {
  custom: {
    50: '#516959',
    500: '#0f311d',
    950: '#000000',
  },
}
SCSS
$custom: #0f311d;
$custom-light: #516959;
$custom-dark: #000000;
JSON
{
  "hex": "#0f311d",
  "rgb": {
    "r": 15,
    "g": 49,
    "b": 29
  },
  "hsl": {
    "h": 144.706,
    "s": 53.125,
    "l": 12.549
  },
  "oklch": {
    "l": 0.28166,
    "c": 0.05428,
    "h": 154.8
  },
  "luminance": 0.02387
}

Semantic roles & 50–950 ramp

primary
#0F311D
secondary
#6B3153
accent
#4BA1DD
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020603
muted
#787A78

Preview Lab

Preview with #0F311D

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

Preview Lab → · Contrast checker → · Palette generator →

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