#0F401F#0F401F

#0F401F is a dark, moderate green. Relative luminance 0.039; OKLCH L 33.0% C 0.077 H 150.4°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#0F401F
RGBrgb(15, 64, 31)
HSLhsl(140, 62%, 15%)
HSVhsv(140, 77%, 25%)
CMYKcmyk(76.6%, 0%, 51.6%, 74.9%)
CIE-LABlab(23.23, -24.93, 15.55)
CIE-LCHlch(23.23, 29.39, 148.04°)
OKLaboklab(32.97% -0.0672 0.0382)
OKLCHoklch(32.97% 0.077 150.4)
XYZxyz(2.2775, 3.8670, 1.9224)
Luminance0.0387 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F401F #400F30
analogous
#17400F #0F401F #0F4037
triadic
#0F401F #1F0F40 #401F0F
tetradic
#0F401F #0F1740 #400F30 #40370F
square
#0F401F #0F1740 #400F30 #40370F
split-complementary
#0F401F #370F40 #400F17
monochromatic
#06190C #06190C #0F401F #1B7237 #26A34F

Accessibility & contrast

On white

11.84
#0F401F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F401F
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F401F#FFFFFF#000000##FFFFFF
##0F401F1.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403A1C
Deuteranopia (green-blind)
#3A3621
Tritanopia (blue-blind)
#003F38
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #0f401f;
/* rgb */ color: rgb(15, 64, 31);
/* oklch */ color: oklch(33.0% 0.077 150.4);
Tailwind
colors: {
  custom: {
    50: '#55755b',
    500: '#0f401f',
    950: '#000000',
  },
}
SCSS
$custom: #0f401f;
$custom-light: #55755b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f401f",
  "rgb": {
    "r": 15,
    "g": 64,
    "b": 31
  },
  "hsl": {
    "h": 139.592,
    "s": 62.025,
    "l": 15.49
  },
  "oklch": {
    "l": 0.32971,
    "c": 0.07729,
    "h": 150.4
  },
  "luminance": 0.03867
}

Semantic roles & 50–950 ramp

primary
#0F401F
secondary
#7A3062
accent
#43B0E5
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030804
muted
#787B79

Preview Lab

Preview with #0F401F

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

Preview Lab → · Contrast checker → · Palette generator →

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