#0F4F12#0F4F12

#0F4F12 is a dark, moderate green. Relative luminance 0.057; OKLCH L 37.5% C 0.111 H 143.5°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#0F4F12
RGBrgb(15, 79, 18)
HSLhsl(123, 68%, 18%)
HSVhsv(123, 81%, 31%)
CMYKcmyk(81%, 0%, 77.2%, 69%)
CIE-LABlab(28.74, -33.05, 29.02)
CIE-LCHlch(28.74, 43.98, 138.72°)
OKLaboklab(37.48% -0.0896 0.0663)
OKLCHoklch(37.48% 0.111 143.5)
XYZxyz(3.1020, 5.7368, 1.5160)
Luminance0.0574 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4F12 #4F0F4C
analogous
#2C4F0F #0F4F12 #0F4F32
triadic
#0F4F12 #120F4F #4F120F
tetradic
#0F4F12 #0F2C4F #4F0F4C #4F320F
square
#0F4F12 #0F2C4F #4F0F4C #4F320F
split-complementary
#0F4F12 #320F4F #4F0F2C
monochromatic
#051A06 #051C06 #0F4F12 #19821E #23B629

Accessibility & contrast

On white

9.78
#0F4F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F4F12
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4F12#FFFFFF#000000##FFFFFF
##0F4F121.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514709
Deuteranopia (green-blind)
#4A4218
Tritanopia (blue-blind)
#004D43
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #0f4f12;
/* rgb */ color: rgb(15, 79, 18);
/* oklch */ color: oklch(37.5% 0.111 143.5);
Tailwind
colors: {
  custom: {
    50: '#5a8154',
    500: '#0f4f12',
    950: '#000000',
  },
}
SCSS
$custom: #0f4f12;
$custom-light: #5a8154;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4f12",
  "rgb": {
    "r": 15,
    "g": 79,
    "b": 18
  },
  "hsl": {
    "h": 122.813,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.3748,
    "c": 0.11141,
    "h": 143.5
  },
  "luminance": 0.05737
}

Semantic roles & 50–950 ramp

primary
#0F4F12
secondary
#893185
accent
#3DE3EB
background
#F5F7F4
surface
#E9EEE8
border
#C5C9C4
text
#040A03
muted
#797C78

Preview Lab

Preview with #0F4F12

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

Preview Lab → · Contrast checker → · Palette generator →

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