#0F4D17#0F4D17

#0F4D17 is a dark, moderate green. Relative luminance 0.055; OKLCH L 36.9% C 0.105 H 144.9°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#0F4D17
RGBrgb(15, 77, 23)
HSLhsl(128, 67%, 18%)
HSVhsv(128, 81%, 30%)
CMYKcmyk(80.5%, 0%, 70.1%, 69.8%)
CIE-LABlab(28.04, -31.70, 25.86)
CIE-LCHlch(28.04, 40.91, 140.80°)
OKLaboklab(36.91% -0.0856 0.0603)
OKLCHoklch(36.91% 0.105 144.9)
XYZxyz(3.0053, 5.4708, 1.7080)
Luminance0.0547 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4D17 #4D0F45
analogous
#264D0F #0F4D17 #0F4D36
triadic
#0F4D17 #170F4D #4D170F
tetradic
#0F4D17 #0F264D #4D0F45 #4D360F
square
#0F4D17 #0F264D #4D0F45 #4D360F
split-complementary
#0F4D17 #360F4D #4D0F26
monochromatic
#051A08 #051A08 #0F4D17 #198026 #23B336

Accessibility & contrast

On white

10.03
#0F4D17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#0F4D17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4D17
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4D17#FFFFFF#000000##FFFFFF
##0F4D171.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4511
Deuteranopia (green-blind)
#47401C
Tritanopia (blue-blind)
#004B42
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #0f4d17;
/* rgb */ color: rgb(15, 77, 23);
/* oklch */ color: oklch(36.9% 0.105 144.9);
Tailwind
colors: {
  custom: {
    50: '#597f56',
    500: '#0f4d17',
    950: '#000000',
  },
}
SCSS
$custom: #0f4d17;
$custom-light: #597f56;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4d17",
  "rgb": {
    "r": 15,
    "g": 77,
    "b": 23
  },
  "hsl": {
    "h": 127.742,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.36913,
    "c": 0.10471,
    "h": 144.9
  },
  "luminance": 0.05471
}

Semantic roles & 50–950 ramp

primary
#0F4D17
secondary
#87317C
accent
#3ED4EA
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #0F4D17

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

Preview Lab → · Contrast checker → · Palette generator →

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