#0F4E17#0F4E17

#0F4E17 is a dark, moderate green. Relative luminance 0.056; OKLCH L 37.2% C 0.106 H 144.8°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#0F4E17
RGBrgb(15, 78, 23)
HSLhsl(128, 68%, 18%)
HSVhsv(128, 81%, 31%)
CMYKcmyk(80.8%, 0%, 70.5%, 69.4%)
CIE-LABlab(28.41, -32.09, 26.28)
CIE-LCHlch(28.41, 41.48, 140.69°)
OKLaboklab(37.22% -0.0867 0.0611)
OKLCHoklch(37.22% 0.106 144.8)
XYZxyz(3.0758, 5.6118, 1.7315)
Luminance0.0561 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4E17 #4E0F46
analogous
#264E0F #0F4E17 #0F4E36
triadic
#0F4E17 #170F4E #4E170F
tetradic
#0F4E17 #0F264E #4E0F46 #4E360F
square
#0F4E17 #0F264E #4E0F46 #4E360F
split-complementary
#0F4E17 #360F4E #4E0F26
monochromatic
#051A08 #051B08 #0F4E17 #198126 #23B535

Accessibility & contrast

On white

9.89
#0F4E17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#0F4E17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4E17
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4E17#FFFFFF#000000##FFFFFF
##0F4E171.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4610
Deuteranopia (green-blind)
#48411C
Tritanopia (blue-blind)
#004C42
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #0f4e17;
/* rgb */ color: rgb(15, 78, 23);
/* oklch */ color: oklch(37.2% 0.106 144.8);
Tailwind
colors: {
  custom: {
    50: '#598057',
    500: '#0f4e17',
    950: '#000000',
  },
}
SCSS
$custom: #0f4e17;
$custom-light: #598057;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4e17",
  "rgb": {
    "r": 15,
    "g": 78,
    "b": 23
  },
  "hsl": {
    "h": 127.619,
    "s": 67.742,
    "l": 18.235
  },
  "oklch": {
    "l": 0.37224,
    "c": 0.10609,
    "h": 144.8
  },
  "luminance": 0.05612
}

Semantic roles & 50–950 ramp

primary
#0F4E17
secondary
#88317D
accent
#3DD5EB
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #0F4E17

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

Preview Lab → · Contrast checker → · Palette generator →

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