#0F281B#0F281B

#0F281B is a dark, muted green. Relative luminance 0.017; OKLCH L 25.2% C 0.040 H 158.9°. Best body text is #FFFFFF at 15.68:1 contrast (WCAG AA passes).

Color values

HEX#0F281B
RGBrgb(15, 40, 27)
HSLhsl(149, 45%, 11%)
HSVhsv(149, 63%, 16%)
CMYKcmyk(62.5%, 0%, 32.5%, 84.3%)
CIE-LABlab(13.82, -13.62, 5.65)
CIE-LCHlch(13.82, 14.74, 157.45°)
OKLaboklab(25.22% -0.0374 0.0144)
OKLCHoklch(25.22% 0.04 158.9)
XYZxyz(1.1535, 1.6982, 1.3037)
Luminance0.0170 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F281B #280F1C
analogous
#0F280F #0F281B #0F2827
triadic
#0F281B #1B0F28 #281B0F
tetradic
#0F281B #0F0F28 #280F1C #28270F
square
#0F281B #0F0F28 #280F1C #28270F
split-complementary
#0F281B #270F28 #280F0F
monochromatic
#08160F #08160F #0F281B #205539 #308157

Accessibility & contrast

On white

15.68
#0F281B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#0F281B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F281B
15.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F281B#FFFFFF#000000##FFFFFF
##0F281B1.0015.681.3415.68
#FFFFFF15.681.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28251A
Deuteranopia (green-blind)
#24221C
Tritanopia (blue-blind)
#082824
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #0f281b;
/* rgb */ color: rgb(15, 40, 27);
/* oklch */ color: oklch(25.2% 0.040 158.9);
Tailwind
colors: {
  custom: {
    50: '#4f6257',
    500: '#0f281b',
    950: '#000000',
  },
}
SCSS
$custom: #0f281b;
$custom-light: #4f6257;
$custom-dark: #000000;
JSON
{
  "hex": "#0f281b",
  "rgb": {
    "r": 15,
    "g": 40,
    "b": 27
  },
  "hsl": {
    "h": 148.8,
    "s": 45.455,
    "l": 10.784
  },
  "oklch": {
    "l": 0.25224,
    "c": 0.04011,
    "h": 158.9
  },
  "luminance": 0.01698
}

Semantic roles & 50–950 ramp

primary
#0F281B
secondary
#61324A
accent
#5397D5
background
#F4F5F5
surface
#E7EAE9
border
#C3C6C5
text
#020503
muted
#787978

Preview Lab

Preview with #0F281B

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

Preview Lab → · Contrast checker → · Palette generator →

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