#0F401D#0F401D

#0F401D is a dark, moderate green. Relative luminance 0.039; OKLCH L 32.9% C 0.080 H 149.1°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#0F401D
RGBrgb(15, 64, 29)
HSLhsl(137, 62%, 15%)
HSVhsv(137, 77%, 25%)
CMYKcmyk(76.6%, 0%, 54.7%, 74.9%)
CIE-LABlab(23.19, -25.32, 16.74)
CIE-LCHlch(23.19, 30.36, 146.54°)
OKLaboklab(32.93% -0.0682 0.0408)
OKLCHoklch(32.93% 0.08 149.1)
XYZxyz(2.2520, 3.8568, 1.7879)
Luminance0.0386 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F401D #400F32
analogous
#19400F #0F401D #0F4035
triadic
#0F401D #1D0F40 #401D0F
tetradic
#0F401D #0F1940 #400F32 #40350F
square
#0F401D #0F1940 #400F32 #40350F
split-complementary
#0F401D #350F40 #400F19
monochromatic
#06190B #06190B #0F401D #1B7233 #26A34A

Accessibility & contrast

On white

11.86
#0F401D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F401D
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F401D#FFFFFF#000000##FFFFFF
##0F401D1.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413A1A
Deuteranopia (green-blind)
#3B361F
Tritanopia (blue-blind)
#003F38
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #0f401d;
/* rgb */ color: rgb(15, 64, 29);
/* oklch */ color: oklch(32.9% 0.080 149.1);
Tailwind
colors: {
  custom: {
    50: '#557559',
    500: '#0f401d',
    950: '#000000',
  },
}
SCSS
$custom: #0f401d;
$custom-light: #557559;
$custom-dark: #000000;
JSON
{
  "hex": "#0f401d",
  "rgb": {
    "r": 15,
    "g": 64,
    "b": 29
  },
  "hsl": {
    "h": 137.143,
    "s": 62.025,
    "l": 15.49
  },
  "oklch": {
    "l": 0.32931,
    "c": 0.07951,
    "h": 149.1
  },
  "luminance": 0.03857
}

Semantic roles & 50–950 ramp

primary
#0F401D
secondary
#7A3065
accent
#43B7E5
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030803
muted
#787B78

Preview Lab

Preview with #0F401D

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

Preview Lab → · Contrast checker → · Palette generator →

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