#0F2012#0F2012

#0F2012 is a very dark, muted green. Relative luminance 0.012; OKLCH L 22.4% C 0.036 H 148.6°. Best body text is #FFFFFF at 17.00:1 contrast (WCAG AA passes).

Color values

HEX#0F2012
RGBrgb(15, 32, 18)
HSLhsl(131, 36%, 9%)
HSVhsv(131, 53%, 13%)
CMYKcmyk(53.1%, 0%, 43.8%, 87.5%)
CIE-LABlab(10.40, -11.11, 7.11)
CIE-LCHlch(10.40, 13.19, 147.40°)
OKLaboklab(22.37% -0.0303 0.0185)
OKLCHoklch(22.37% 0.036 148.6)
XYZxyz(0.8226, 1.1782, 0.7562)
Luminance0.0118 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2012 #200F1D
analogous
#15200F #0F2012 #0F201B
triadic
#0F2012 #120F20 #20120F
tetradic
#0F2012 #0F1520 #200F1D #201B0F
square
#0F2012 #0F1520 #200F1D #201B0F
split-complementary
#0F2012 #1B0F20 #200F15
monochromatic
#0A150C #0A150C #0F2012 #234A29 #367341

Accessibility & contrast

On white

17.00
#0F2012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#0F2012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2012
17.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2012#FFFFFF#000000##FFFFFF
##0F20121.0017.001.2417.00
#FFFFFF17.001.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF17.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#201D11
Deuteranopia (green-blind)
#1E1C13
Tritanopia (blue-blind)
#0C1F1C
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #0f2012;
/* rgb */ color: rgb(15, 32, 18);
/* oklch */ color: oklch(22.4% 0.036 148.6);
Tailwind
colors: {
  custom: {
    50: '#4e5b50',
    500: '#0f2012',
    950: '#000000',
  },
}
SCSS
$custom: #0f2012;
$custom-light: #4e5b50;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2012",
  "rgb": {
    "r": 15,
    "g": 32,
    "b": 18
  },
  "hsl": {
    "h": 130.588,
    "s": 36.17,
    "l": 9.216
  },
  "oklch": {
    "l": 0.22366,
    "c": 0.03551,
    "h": 148.6
  },
  "luminance": 0.01178
}

Semantic roles & 50–950 ramp

primary
#0F2012
secondary
#573451
accent
#5CB8CC
background
#F4F5F4
surface
#E7E9E7
border
#C3C5C3
text
#010402
muted
#777978

Preview Lab

Preview with #0F2012

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

Preview Lab → · Contrast checker → · Palette generator →

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