#0F4F17#0F4F17

#0F4F17 is a dark, moderate green. Relative luminance 0.058; OKLCH L 37.5% C 0.107 H 144.7°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#0F4F17
RGBrgb(15, 79, 23)
HSLhsl(128, 68%, 18%)
HSVhsv(128, 81%, 31%)
CMYKcmyk(81%, 0%, 70.9%, 69%)
CIE-LABlab(28.79, -32.48, 26.69)
CIE-LCHlch(28.79, 42.04, 140.59°)
OKLaboklab(37.54% -0.0877 0.062)
OKLCHoklch(37.54% 0.107 144.7)
XYZxyz(3.1474, 5.7550, 1.7554)
Luminance0.0575 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4F17 #4F0F47
analogous
#274F0F #0F4F17 #0F4F37
triadic
#0F4F17 #170F4F #4F170F
tetradic
#0F4F17 #0F274F #4F0F47 #4F370F
square
#0F4F17 #0F274F #4F0F47 #4F370F
split-complementary
#0F4F17 #370F4F #4F0F27
monochromatic
#051A07 #051C08 #0F4F17 #198226 #23B635

Accessibility & contrast

On white

9.76
#0F4F17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F4F17
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4F17#FFFFFF#000000##FFFFFF
##0F4F171.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514710
Deuteranopia (green-blind)
#49421C
Tritanopia (blue-blind)
#004D43
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #0f4f17;
/* rgb */ color: rgb(15, 79, 23);
/* oklch */ color: oklch(37.5% 0.107 144.7);
Tailwind
colors: {
  custom: {
    50: '#5a8157',
    500: '#0f4f17',
    950: '#000000',
  },
}
SCSS
$custom: #0f4f17;
$custom-light: #5a8157;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4f17",
  "rgb": {
    "r": 15,
    "g": 79,
    "b": 23
  },
  "hsl": {
    "h": 127.5,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.37535,
    "c": 0.10745,
    "h": 144.7
  },
  "luminance": 0.05755
}

Semantic roles & 50–950 ramp

primary
#0F4F17
secondary
#89317E
accent
#3DD5EB
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #0F4F17

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

Preview Lab → · Contrast checker → · Palette generator →

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