#0F4F1B#0F4F1B

#0F4F1B is a dark, moderate green. Relative luminance 0.058; OKLCH L 37.6% C 0.104 H 146.0°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#0F4F1B
RGBrgb(15, 79, 27)
HSLhsl(131, 68%, 18%)
HSVhsv(131, 81%, 31%)
CMYKcmyk(81%, 0%, 65.8%, 69%)
CIE-LABlab(28.83, -31.94, 24.68)
CIE-LCHlch(28.83, 40.36, 142.31°)
OKLaboklab(37.59% -0.0861 0.0582)
OKLCHoklch(37.59% 0.104 146)
XYZxyz(3.1906, 5.7723, 1.9827)
Luminance0.0577 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4F1B #4F0F43
analogous
#234F0F #0F4F1B #0F4F3B
triadic
#0F4F1B #1B0F4F #4F1B0F
tetradic
#0F4F1B #0F234F #4F0F43 #4F3B0F
square
#0F4F1B #0F234F #4F0F43 #4F3B0F
split-complementary
#0F4F1B #3B0F4F #4F0F23
monochromatic
#051A09 #051C09 #0F4F1B #19822D #23B63E

Accessibility & contrast

On white

9.75
#0F4F1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#0F4F1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4F1B
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4F1B#FFFFFF#000000##FFFFFF
##0F4F1B1.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504715
Deuteranopia (green-blind)
#49421F
Tritanopia (blue-blind)
#004D44
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #0f4f1b;
/* rgb */ color: rgb(15, 79, 27);
/* oklch */ color: oklch(37.6% 0.104 146.0);
Tailwind
colors: {
  custom: {
    50: '#598159',
    500: '#0f4f1b',
    950: '#000000',
  },
}
SCSS
$custom: #0f4f1b;
$custom-light: #598159;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4f1b",
  "rgb": {
    "r": 15,
    "g": 79,
    "b": 27
  },
  "hsl": {
    "h": 131.25,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.37586,
    "c": 0.10391,
    "h": 146
  },
  "luminance": 0.05773
}

Semantic roles & 50–950 ramp

primary
#0F4F1B
secondary
#893179
accent
#3DCAEB
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #0F4F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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