#0F270E#0F270E

#0F270E is a very dark, muted green. Relative luminance 0.016; OKLCH L 24.6% C 0.054 H 143.0°. Best body text is #FFFFFF at 15.95:1 contrast (WCAG AA passes).

Color values

HEX#0F270E
RGBrgb(15, 39, 14)
HSLhsl(118, 47%, 10%)
HSVhsv(118, 64%, 15%)
CMYKcmyk(61.5%, 0%, 64.1%, 84.7%)
CIE-LABlab(13.13, -15.95, 13.08)
CIE-LCHlch(13.13, 20.63, 140.64°)
OKLaboklab(24.57% -0.0434 0.0328)
OKLCHoklch(24.57% 0.054 143)
XYZxyz(1.0017, 1.5842, 0.6684)
Luminance0.0158 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F270E #260E27
analogous
#1B270E #0F270E #0E2719
triadic
#0F270E #0E0F27 #270E0F
tetradic
#0F270E #0E1B27 #260E27 #27190E
square
#0F270E #0E1B27 #260E27 #27190E
split-complementary
#0F270E #190E27 #270E1B
monochromatic
#091708 #091708 #0F270E #20541E #32812E

Accessibility & contrast

On white

15.95
#0F270E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#0F270E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F270E
15.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F270E#FFFFFF#000000##FFFFFF
##0F270E1.0015.951.3215.95
#FFFFFF15.951.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28230C
Deuteranopia (green-blind)
#252110
Tritanopia (blue-blind)
#0C2621
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0f270e;
/* rgb */ color: rgb(15, 39, 14);
/* oklch */ color: oklch(24.6% 0.054 143.0);
Tailwind
colors: {
  custom: {
    50: '#4f614d',
    500: '#0f270e',
    950: '#000000',
  },
}
SCSS
$custom: #0f270e;
$custom-light: #4f614d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f270e",
  "rgb": {
    "r": 15,
    "g": 39,
    "b": 14
  },
  "hsl": {
    "h": 117.6,
    "s": 47.17,
    "l": 10.392
  },
  "oklch": {
    "l": 0.24573,
    "c": 0.05443,
    "h": 143
  },
  "luminance": 0.01584
}

Semantic roles & 50–950 ramp

primary
#0F270E
secondary
#5E3060
accent
#51D7D1
background
#F4F5F4
surface
#E7E9E7
border
#C3C5C3
text
#020501
muted
#787977

Preview Lab

Preview with #0F270E

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

Preview Lab → · Contrast checker → · Palette generator →

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