#0F331F#0F331F

#0F331F is a dark, muted green. Relative luminance 0.026; OKLCH L 28.9% C 0.055 H 155.9°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#0F331F
RGBrgb(15, 51, 31)
HSLhsl(147, 55%, 13%)
HSVhsv(147, 71%, 20%)
CMYKcmyk(70.6%, 0%, 39.2%, 80%)
CIE-LABlab(18.22, -18.63, 8.96)
CIE-LCHlch(18.22, 20.67, 154.31°)
OKLaboklab(28.86% -0.0507 0.0226)
OKLCHoklch(28.86% 0.055 155.9)
XYZxyz(1.6280, 2.5680, 1.7059)
Luminance0.0257 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F331F #330F23
analogous
#11330F #0F331F #0F3331
triadic
#0F331F #1F0F33 #331F0F
tetradic
#0F331F #0F1133 #330F23 #33310F
square
#0F331F #0F1133 #330F23 #33310F
split-complementary
#0F331F #310F33 #330F11
monochromatic
#07180E #07180E #0F331F #1D623C #2B9258

Accessibility & contrast

On white

13.87
#0F331F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F331F
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F331F#FFFFFF#000000##FFFFFF
##0F331F1.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f331f;
/* rgb */ color: rgb(15, 51, 31);
/* oklch */ color: oklch(28.9% 0.055 155.9);
Tailwind
colors: {
  custom: {
    50: '#526b5a',
    500: '#0f331f',
    950: '#000000',
  },
}
SCSS
$custom: #0f331f;
$custom-light: #526b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f331f",
  "rgb": {
    "r": 15,
    "g": 51,
    "b": 31
  },
  "hsl": {
    "h": 146.667,
    "s": 54.545,
    "l": 12.941
  },
  "oklch": {
    "l": 0.28857,
    "c": 0.05548,
    "h": 155.9
  },
  "luminance": 0.02568
}

Semantic roles & 50–950 ramp

primary
#0F331F
secondary
#6D3152
accent
#4A9CDE
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020604
muted
#787A79

Preview Lab

Preview with #0F331F

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

Preview Lab → · Contrast checker → · Palette generator →

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