#0F1007#0F1007

#0F1007 is a very dark, near-neutral yellow. Relative luminance 0.005; OKLCH L 16.9% C 0.018 H 113.4°. Best body text is #FFFFFF at 19.14:1 contrast (WCAG AA passes).

Color values

HEX#0F1007
RGBrgb(15, 16, 7)
HSLhsl(67, 39%, 5%)
HSVhsv(67, 56%, 6%)
CMYKcmyk(6.2%, 0%, 56.2%, 93.7%)
CIE-LABlab(4.40, -1.75, 3.69)
CIE-LCHlch(4.40, 4.08, 115.40°)
OKLaboklab(16.86% -0.0072 0.0167)
OKLCHoklch(16.86% 0.018 113.4)
XYZxyz(0.4206, 0.4875, 0.2729)
Luminance0.0049 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1007 #080710
analogous
#100D07 #0F1007 #0B1007
triadic
#0F1007 #070F10 #10070F
tetradic
#0F1007 #07100D #080710 #10070B
square
#0F1007 #07100D #080710 #10070B
split-complementary
#0F1007 #070B10 #0D0710
monochromatic
#141509 #141509 #141509 #373B1A #5F652C

Accessibility & contrast

On white

19.14
#0F1007 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#0F1007 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1007
19.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1007#FFFFFF#000000##FFFFFF
##0F10071.0019.141.1019.14
#FFFFFF19.141.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#110F06
Deuteranopia (green-blind)
#110F07
Tritanopia (blue-blind)
#100F0E
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #0f1007;
/* rgb */ color: rgb(15, 16, 7);
/* oklch */ color: oklch(16.9% 0.018 113.4);
Tailwind
colors: {
  custom: {
    50: '#4e4e4a',
    500: '#0f1007',
    950: '#000000',
  },
}
SCSS
$custom: #0f1007;
$custom-light: #4e4e4a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1007",
  "rgb": {
    "r": 15,
    "g": 16,
    "b": 7
  },
  "hsl": {
    "h": 66.667,
    "s": 39.13,
    "l": 4.51
  },
  "oklch": {
    "l": 0.16861,
    "c": 0.01821,
    "h": 113.4
  },
  "luminance": 0.00487
}

Semantic roles & 50–950 ramp

primary
#0F1007
secondary
#2D2A49
accent
#59CF66
background
#F4F4F4
surface
#E7E7E7
border
#C3C3C3
text
#010101
muted
#777777

Preview Lab

Preview with #0F1007

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

Preview Lab → · Contrast checker → · Palette generator →

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