#0F4F11#0F4F11

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

Color values

HEX#0F4F11
RGBrgb(15, 79, 17)
HSLhsl(122, 68%, 18%)
HSVhsv(122, 81%, 31%)
CMYKcmyk(81%, 0%, 78.5%, 69%)
CIE-LABlab(28.73, -33.15, 29.46)
CIE-LCHlch(28.73, 44.35, 138.38°)
OKLaboklab(37.47% -0.0899 0.067)
OKLCHoklch(37.47% 0.112 143.3)
XYZxyz(3.0940, 5.7336, 1.4738)
Luminance0.0573 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4F11 #4F0F4D
analogous
#2D4F0F #0F4F11 #0F4F31
triadic
#0F4F11 #110F4F #4F110F
tetradic
#0F4F11 #0F2D4F #4F0F4D #4F310F
square
#0F4F11 #0F2D4F #4F0F4D #4F310F
split-complementary
#0F4F11 #310F4F #4F0F2D
monochromatic
#051A06 #051C06 #0F4F11 #19821C #23B627

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F4F11#FFFFFF#000000##FFFFFF
##0F4F111.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)
#514707
Deuteranopia (green-blind)
#4A4217
Tritanopia (blue-blind)
#004C43
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #0f4f11;
/* rgb */ color: rgb(15, 79, 17);
/* oklch */ color: oklch(37.5% 0.112 143.3);
Tailwind
colors: {
  custom: {
    50: '#5a8153',
    500: '#0f4f11',
    950: '#000000',
  },
}
SCSS
$custom: #0f4f11;
$custom-light: #5a8153;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4f11",
  "rgb": {
    "r": 15,
    "g": 79,
    "b": 17
  },
  "hsl": {
    "h": 121.875,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.37471,
    "c": 0.11214,
    "h": 143.3
  },
  "luminance": 0.05734
}

Semantic roles & 50–950 ramp

primary
#0F4F11
secondary
#893186
accent
#3DE6EB
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A03
muted
#797C78

Preview Lab

Preview with #0F4F11

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

Preview Lab → · Contrast checker → · Palette generator →

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