#0F271A#0F271A

#0F271A is a very dark, muted green. Relative luminance 0.016; OKLCH L 24.9% C 0.039 H 158.0°. Best body text is #FFFFFF at 15.84:1 contrast (WCAG AA passes).

Color values

HEX#0F271A
RGBrgb(15, 39, 26)
HSLhsl(148, 44%, 11%)
HSVhsv(148, 62%, 15%)
CMYKcmyk(61.5%, 0%, 33.3%, 84.7%)
CIE-LABlab(13.39, -13.30, 5.77)
CIE-LCHlch(13.39, 14.50, 156.54°)
OKLaboklab(24.87% -0.0365 0.0147)
OKLCHoklch(24.87% 0.039 158)
XYZxyz(1.1089, 1.6271, 1.2327)
Luminance0.0163 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F271A #270F1C
analogous
#10270F #0F271A #0F2726
triadic
#0F271A #1A0F27 #271A0F
tetradic
#0F271A #0F1027 #270F1C #27260F
square
#0F271A #0F1027 #270F1C #27260F
split-complementary
#0F271A #260F27 #270F10
monochromatic
#09160F #09160F #0F271A #205337 #317F55

Accessibility & contrast

On white

15.84
#0F271A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#0F271A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F271A
15.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F271A#FFFFFF#000000##FFFFFF
##0F271A1.0015.841.3315.84
#FFFFFF15.841.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272419
Deuteranopia (green-blind)
#23211B
Tritanopia (blue-blind)
#092723
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0f271a;
/* rgb */ color: rgb(15, 39, 26);
/* oklch */ color: oklch(24.9% 0.039 158.0);
Tailwind
colors: {
  custom: {
    50: '#4f6156',
    500: '#0f271a',
    950: '#000000',
  },
}
SCSS
$custom: #0f271a;
$custom-light: #4f6156;
$custom-dark: #000000;
JSON
{
  "hex": "#0f271a",
  "rgb": {
    "r": 15,
    "g": 39,
    "b": 26
  },
  "hsl": {
    "h": 147.5,
    "s": 44.444,
    "l": 10.588
  },
  "oklch": {
    "l": 0.24871,
    "c": 0.03937,
    "h": 158
  },
  "luminance": 0.01627
}

Semantic roles & 50–950 ramp

primary
#0F271A
secondary
#60324B
accent
#5499D4
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#020503
muted
#787978

Preview Lab

Preview with #0F271A

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

Preview Lab → · Contrast checker → · Palette generator →

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