#0F281A#0F281A

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

Color values

HEX#0F281A
RGBrgb(15, 40, 26)
HSLhsl(146, 45%, 11%)
HSVhsv(146, 63%, 16%)
CMYKcmyk(62.5%, 0%, 35%, 84.3%)
CIE-LABlab(13.79, -13.88, 6.32)
CIE-LCHlch(13.79, 15.25, 155.52°)
OKLaboklab(25.19% -0.038 0.0161)
OKLCHoklch(25.19% 0.041 157.1)
XYZxyz(1.1422, 1.6936, 1.2438)
Luminance0.0169 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F281A #280F1D
analogous
#10280F #0F281A #0F2826
triadic
#0F281A #1A0F28 #281A0F
tetradic
#0F281A #0F1028 #280F1D #28260F
square
#0F281A #0F1028 #280F1D #28260F
split-complementary
#0F281A #260F28 #280F10
monochromatic
#08160E #08160E #0F281A #205537 #308154

Accessibility & contrast

On white

15.69
#0F281A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F281A
15.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F281A#FFFFFF#000000##FFFFFF
##0F281A1.0015.691.3415.69
#FFFFFF15.691.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282519
Deuteranopia (green-blind)
#24221B
Tritanopia (blue-blind)
#082824
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #0f281a;
/* rgb */ color: rgb(15, 40, 26);
/* oklch */ color: oklch(25.2% 0.041 157.1);
Tailwind
colors: {
  custom: {
    50: '#4f6256',
    500: '#0f281a',
    950: '#000000',
  },
}
SCSS
$custom: #0f281a;
$custom-light: #4f6256;
$custom-dark: #000000;
JSON
{
  "hex": "#0f281a",
  "rgb": {
    "r": 15,
    "g": 40,
    "b": 26
  },
  "hsl": {
    "h": 146.4,
    "s": 45.455,
    "l": 10.784
  },
  "oklch": {
    "l": 0.25193,
    "c": 0.04128,
    "h": 157.1
  },
  "luminance": 0.01694
}

Semantic roles & 50–950 ramp

primary
#0F281A
secondary
#61324C
accent
#539CD5
background
#F4F5F5
surface
#E7EAE9
border
#C3C6C5
text
#020503
muted
#787978

Preview Lab

Preview with #0F281A

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

Preview Lab → · Contrast checker → · Palette generator →

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