#0F1908#0F1908

#0F1908 is a very dark, muted yellow-green. Relative luminance 0.008; OKLCH L 19.8% C 0.035 H 133.5°. Best body text is #FFFFFF at 18.06:1 contrast (WCAG AA passes).

Color values

HEX#0F1908
RGBrgb(15, 25, 8)
HSLhsl(95, 52%, 6%)
HSVhsv(95, 68%, 10%)
CMYKcmyk(40%, 0%, 68%, 90.2%)
CIE-LABlab(7.36, -7.60, 7.59)
CIE-LCHlch(7.36, 10.74, 135.02°)
OKLaboklab(19.81% -0.0242 0.0255)
OKLCHoklch(19.81% 0.035 133.5)
XYZxyz(0.5885, 0.8143, 0.3559)
Luminance0.0081 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1908 #120819
analogous
#181908 #0F1908 #08190A
triadic
#0F1908 #080F19 #19080F
tetradic
#0F1908 #081819 #120819 #190A08
square
#0F1908 #081819 #120819 #190A08
split-complementary
#0F1908 #0A0819 #190818
monochromatic
#0E1707 #0E1707 #0F1908 #2B4717 #477626

Accessibility & contrast

On white

18.06
#0F1908 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#0F1908 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1908
18.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1908#FFFFFF#000000##FFFFFF
##0F19081.0018.061.1618.06
#FFFFFF18.061.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A1707
Deuteranopia (green-blind)
#191609
Tritanopia (blue-blind)
#0F1815
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0f1908;
/* rgb */ color: rgb(15, 25, 8);
/* oklch */ color: oklch(19.8% 0.035 133.5);
Tailwind
colors: {
  custom: {
    50: '#4d554a',
    500: '#0f1908',
    950: '#000000',
  },
}
SCSS
$custom: #0f1908;
$custom-light: #4d554a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1908",
  "rgb": {
    "r": 15,
    "g": 25,
    "b": 8
  },
  "hsl": {
    "h": 95.294,
    "s": 51.515,
    "l": 6.471
  },
  "oklch": {
    "l": 0.19815,
    "c": 0.03517,
    "h": 133.5
  },
  "luminance": 0.00814
}

Semantic roles & 50–950 ramp

primary
#0F1908
secondary
#422855
accent
#4DDBA0
background
#F4F4F4
surface
#E7E7E7
border
#C3C3C3
text
#010301
muted
#777877

Preview Lab

Preview with #0F1908

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

Preview Lab → · Contrast checker → · Palette generator →

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