#0F4F1D#0F4F1D

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

Color values

HEX#0F4F1D
RGBrgb(15, 79, 29)
HSLhsl(133, 68%, 18%)
HSVhsv(133, 81%, 31%)
CMYKcmyk(81%, 0%, 63.3%, 69%)
CIE-LABlab(28.86, -31.65, 23.63)
CIE-LCHlch(28.86, 39.49, 143.26°)
OKLaboklab(37.61% -0.0852 0.0561)
OKLCHoklch(37.61% 0.102 146.7)
XYZxyz(3.2145, 5.7819, 2.1088)
Luminance0.0578 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4F1D #4F0F41
analogous
#214F0F #0F4F1D #0F4F3D
triadic
#0F4F1D #1D0F4F #4F1D0F
tetradic
#0F4F1D #0F214F #4F0F41 #4F3D0F
square
#0F4F1D #0F214F #4F0F41 #4F3D0F
split-complementary
#0F4F1D #3D0F4F #4F0F21
monochromatic
#051A09 #051C0A #0F4F1D #198230 #23B643

Accessibility & contrast

On white

9.74
#0F4F1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#0F4F1D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4F1D
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4F1D#FFFFFF#000000##FFFFFF
##0F4F1D1.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504718
Deuteranopia (green-blind)
#494221
Tritanopia (blue-blind)
#004D44
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #0f4f1d;
/* rgb */ color: rgb(15, 79, 29);
/* oklch */ color: oklch(37.6% 0.102 146.7);
Tailwind
colors: {
  custom: {
    50: '#59815b',
    500: '#0f4f1d',
    950: '#000000',
  },
}
SCSS
$custom: #0f4f1d;
$custom-light: #59815b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4f1d",
  "rgb": {
    "r": 15,
    "g": 79,
    "b": 29
  },
  "hsl": {
    "h": 133.125,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.37615,
    "c": 0.10202,
    "h": 146.7
  },
  "luminance": 0.05782
}

Semantic roles & 50–950 ramp

primary
#0F4F1D
secondary
#893176
accent
#3DC5EB
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #0F4F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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