#0F401A#0F401A

#0F401A is a dark, moderate green. Relative luminance 0.038; OKLCH L 32.9% C 0.083 H 147.5°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#0F401A
RGBrgb(15, 64, 26)
HSLhsl(133, 62%, 15%)
HSVhsv(133, 77%, 25%)
CMYKcmyk(76.6%, 0%, 59.4%, 74.9%)
CIE-LABlab(23.14, -25.87, 18.48)
CIE-LCHlch(23.14, 31.80, 144.46°)
OKLaboklab(32.88% -0.0698 0.0445)
OKLCHoklch(32.88% 0.083 147.5)
XYZxyz(2.2167, 3.8427, 1.6020)
Luminance0.0384 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F401A #400F35
analogous
#1D400F #0F401A #0F4032
triadic
#0F401A #1A0F40 #401A0F
tetradic
#0F401A #0F1D40 #400F35 #40320F
square
#0F401A #0F1D40 #400F35 #40320F
split-complementary
#0F401A #320F40 #400F1D
monochromatic
#06190A #06190A #0F401A #1B722E #26A342

Accessibility & contrast

On white

11.87
#0F401A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#0F401A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F401A
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F401A#FFFFFF#000000##FFFFFF
##0F401A1.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413A17
Deuteranopia (green-blind)
#3B361D
Tritanopia (blue-blind)
#013E37
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #0f401a;
/* rgb */ color: rgb(15, 64, 26);
/* oklch */ color: oklch(32.9% 0.083 147.5);
Tailwind
colors: {
  custom: {
    50: '#557557',
    500: '#0f401a',
    950: '#000000',
  },
}
SCSS
$custom: #0f401a;
$custom-light: #557557;
$custom-dark: #000000;
JSON
{
  "hex": "#0f401a",
  "rgb": {
    "r": 15,
    "g": 64,
    "b": 26
  },
  "hsl": {
    "h": 133.469,
    "s": 62.025,
    "l": 15.49
  },
  "oklch": {
    "l": 0.32876,
    "c": 0.08276,
    "h": 147.5
  },
  "luminance": 0.03843
}

Semantic roles & 50–950 ramp

primary
#0F401A
secondary
#7A306A
accent
#43C1E5
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030803
muted
#787B78

Preview Lab

Preview with #0F401A

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

Preview Lab → · Contrast checker → · Palette generator →

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