#0F331C#0F331C

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

Color values

HEX#0F331C
RGBrgb(15, 51, 28)
HSLhsl(142, 55%, 13%)
HSVhsv(142, 71%, 20%)
CMYKcmyk(70.6%, 0%, 45.1%, 80%)
CIE-LABlab(18.16, -19.34, 10.87)
CIE-LCHlch(18.16, 22.18, 150.67°)
OKLaboklab(28.78% -0.0524 0.0271)
OKLCHoklch(28.78% 0.059 152.6)
XYZxyz(1.5903, 2.5529, 1.5073)
Luminance0.0255 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F331C #330F26
analogous
#14330F #0F331C #0F332E
triadic
#0F331C #1C0F33 #331C0F
tetradic
#0F331C #0F1433 #330F26 #332E0F
square
#0F331C #0F1433 #330F26 #332E0F
split-complementary
#0F331C #2E0F33 #330F14
monochromatic
#07180D #07180D #0F331C #1D6236 #2B9250

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F331C#FFFFFF#000000##FFFFFF
##0F331C1.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)
#332E1A
Deuteranopia (green-blind)
#2E2B1D
Tritanopia (blue-blind)
#05322D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #0f331c;
/* rgb */ color: rgb(15, 51, 28);
/* oklch */ color: oklch(28.8% 0.059 152.6);
Tailwind
colors: {
  custom: {
    50: '#526b58',
    500: '#0f331c',
    950: '#000000',
  },
}
SCSS
$custom: #0f331c;
$custom-light: #526b58;
$custom-dark: #000000;
JSON
{
  "hex": "#0f331c",
  "rgb": {
    "r": 15,
    "g": 51,
    "b": 28
  },
  "hsl": {
    "h": 141.667,
    "s": 54.545,
    "l": 12.941
  },
  "oklch": {
    "l": 0.2878,
    "c": 0.059,
    "h": 152.6
  },
  "luminance": 0.02553
}

Semantic roles & 50–950 ramp

primary
#0F331C
secondary
#6D3157
accent
#4AA8DE
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020603
muted
#787A78

Preview Lab

Preview with #0F331C

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

Preview Lab → · Contrast checker → · Palette generator →

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