#0F291C#0F291C

#0F291C is a dark, muted teal. Relative luminance 0.018; OKLCH L 25.6% C 0.041 H 159.7°. Best body text is #FFFFFF at 15.51:1 contrast (WCAG AA passes).

Color values

HEX#0F291C
RGBrgb(15, 41, 28)
HSLhsl(150, 46%, 11%)
HSVhsv(150, 63%, 16%)
CMYKcmyk(63.4%, 0%, 31.7%, 83.9%)
CIE-LABlab(14.24, -13.93, 5.54)
CIE-LCHlch(14.24, 14.99, 158.32°)
OKLaboklab(25.58% -0.0383 0.0141)
OKLCHoklch(25.58% 0.041 159.7)
XYZxyz(1.1994, 1.7712, 1.3770)
Luminance0.0177 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F291C #290F1C
analogous
#0F290F #0F291C #0F2929
triadic
#0F291C #1C0F29 #291C0F
tetradic
#0F291C #0F0F29 #290F1C #29290F
square
#0F291C #0F0F29 #290F1C #29290F
split-complementary
#0F291C #290F29 #290F0F
monochromatic
#08160F #08160F #0F291C #1F563B #308359

Accessibility & contrast

On white

15.51
#0F291C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#0F291C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F291C
15.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F291C#FFFFFF#000000##FFFFFF
##0F291C1.0015.511.3515.51
#FFFFFF15.511.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28261B
Deuteranopia (green-blind)
#25231D
Tritanopia (blue-blind)
#072925
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #0f291c;
/* rgb */ color: rgb(15, 41, 28);
/* oklch */ color: oklch(25.6% 0.041 159.7);
Tailwind
colors: {
  custom: {
    50: '#4f6358',
    500: '#0f291c',
    950: '#000000',
  },
}
SCSS
$custom: #0f291c;
$custom-light: #4f6358;
$custom-dark: #000000;
JSON
{
  "hex": "#0f291c",
  "rgb": {
    "r": 15,
    "g": 41,
    "b": 28
  },
  "hsl": {
    "h": 150,
    "s": 46.429,
    "l": 10.98
  },
  "oklch": {
    "l": 0.25575,
    "c": 0.04084,
    "h": 159.7
  },
  "luminance": 0.01771
}

Semantic roles & 50–950 ramp

primary
#0F291C
secondary
#62324A
accent
#5294D6
background
#F4F5F5
surface
#E7EAE9
border
#C3C6C5
text
#020503
muted
#787978

Preview Lab

Preview with #0F291C

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

Preview Lab → · Contrast checker → · Palette generator →

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