#0F401B#0F401B

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

Color values

HEX#0F401B
RGBrgb(15, 64, 27)
HSLhsl(135, 62%, 15%)
HSVhsv(135, 77%, 25%)
CMYKcmyk(76.6%, 0%, 57.8%, 74.9%)
CIE-LABlab(23.16, -25.69, 17.91)
CIE-LCHlch(23.16, 31.32, 145.13°)
OKLaboklab(32.89% -0.0693 0.0433)
OKLCHoklch(32.89% 0.082 148)
XYZxyz(2.2281, 3.8472, 1.6619)
Luminance0.0385 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F401B #400F34
analogous
#1B400F #0F401B #0F4033
triadic
#0F401B #1B0F40 #401B0F
tetradic
#0F401B #0F1B40 #400F34 #40330F
square
#0F401B #0F1B40 #400F34 #40330F
split-complementary
#0F401B #330F40 #400F1B
monochromatic
#06190A #06190A #0F401B #1B7230 #26A345

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F401B#FFFFFF#000000##FFFFFF
##0F401B1.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)
#413A18
Deuteranopia (green-blind)
#3B361E
Tritanopia (blue-blind)
#003F37
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #0f401b;
/* rgb */ color: rgb(15, 64, 27);
/* oklch */ color: oklch(32.9% 0.082 148.0);
Tailwind
colors: {
  custom: {
    50: '#557558',
    500: '#0f401b',
    950: '#000000',
  },
}
SCSS
$custom: #0f401b;
$custom-light: #557558;
$custom-dark: #000000;
JSON
{
  "hex": "#0f401b",
  "rgb": {
    "r": 15,
    "g": 64,
    "b": 27
  },
  "hsl": {
    "h": 134.694,
    "s": 62.025,
    "l": 15.49
  },
  "oklch": {
    "l": 0.32894,
    "c": 0.08168,
    "h": 148
  },
  "luminance": 0.03847
}

Semantic roles & 50–950 ramp

primary
#0F401B
secondary
#7A3068
accent
#43BDE5
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030803
muted
#787B78

Preview Lab

Preview with #0F401B

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

Preview Lab → · Contrast checker → · Palette generator →

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