#0F4F0D#0F4F0D

#0F4F0D is a dark, moderate green. Relative luminance 0.057; OKLCH L 37.4% C 0.115 H 142.5°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#0F4F0D
RGBrgb(15, 79, 13)
HSLhsl(118, 72%, 18%)
HSVhsv(118, 84%, 31%)
CMYKcmyk(81%, 0%, 83.5%, 69%)
CIE-LABlab(28.70, -33.52, 31.08)
CIE-LCHlch(28.70, 45.71, 137.16°)
OKLaboklab(37.44% -0.0911 0.0698)
OKLCHoklch(37.44% 0.115 142.5)
XYZxyz(3.0654, 5.7222, 1.3236)
Luminance0.0572 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4F0D #4D0D4F
analogous
#304F0D #0F4F0D #0D4F2C
triadic
#0F4F0D #0D0F4F #4F0D0F
tetradic
#0F4F0D #0D304F #4D0D4F #4F2C0D
square
#0F4F0D #0D304F #4D0D4F #4F2C0D
split-complementary
#0F4F0D #2C0D4F #4F0D30
monochromatic
#051A04 #051A04 #0F4F0D #198416 #23B81E

Accessibility & contrast

On white

9.79
#0F4F0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#0F4F0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4F0D
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4F0D#FFFFFF#000000##FFFFFF
##0F4F0D1.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514701
Deuteranopia (green-blind)
#4A4214
Tritanopia (blue-blind)
#004C43
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #0f4f0d;
/* rgb */ color: rgb(15, 79, 13);
/* oklch */ color: oklch(37.4% 0.115 142.5);
Tailwind
colors: {
  custom: {
    50: '#5a8151',
    500: '#0f4f0d',
    950: '#000000',
  },
}
SCSS
$custom: #0f4f0d;
$custom-light: #5a8151;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4f0d",
  "rgb": {
    "r": 15,
    "g": 79,
    "b": 13
  },
  "hsl": {
    "h": 118.182,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.37437,
    "c": 0.11478,
    "h": 142.5
  },
  "luminance": 0.05723
}

Semantic roles & 50–950 ramp

primary
#0F4F0D
secondary
#872E8A
accent
#39EEE9
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78

Preview Lab

Preview with #0F4F0D

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

Preview Lab → · Contrast checker → · Palette generator →

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