#0F4B17#0F4B17

#0F4B17 is a dark, moderate green. Relative luminance 0.052; OKLCH L 36.3% C 0.102 H 145.0°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#0F4B17
RGBrgb(15, 75, 23)
HSLhsl(128, 67%, 18%)
HSVhsv(128, 80%, 29%)
CMYKcmyk(80%, 0%, 69.3%, 70.6%)
CIE-LABlab(27.28, -30.92, 25.01)
CIE-LCHlch(27.28, 39.77, 141.02°)
OKLaboklab(36.29% -0.0835 0.0585)
OKLCHoklch(36.29% 0.102 145)
XYZxyz(2.8675, 5.1953, 1.6621)
Luminance0.0520 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4B17 #4B0F43
analogous
#254B0F #0F4B17 #0F4B35
triadic
#0F4B17 #170F4B #4B170F
tetradic
#0F4B17 #0F254B #4B0F43 #4B350F
square
#0F4B17 #0F254B #4B0F43 #4B350F
split-complementary
#0F4B17 #350F4B #4B0F25
monochromatic
#051A08 #051A08 #0F4B17 #197E27 #23B136

Accessibility & contrast

On white

10.30
#0F4B17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#0F4B17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4B17
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4B17#FFFFFF#000000##FFFFFF
##0F4B171.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4311
Deuteranopia (green-blind)
#453F1B
Tritanopia (blue-blind)
#004940
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #0f4b17;
/* rgb */ color: rgb(15, 75, 23);
/* oklch */ color: oklch(36.3% 0.102 145.0);
Tailwind
colors: {
  custom: {
    50: '#587e56',
    500: '#0f4b17',
    950: '#000000',
  },
}
SCSS
$custom: #0f4b17;
$custom-light: #587e56;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4b17",
  "rgb": {
    "r": 15,
    "g": 75,
    "b": 23
  },
  "hsl": {
    "h": 128,
    "s": 66.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.36289,
    "c": 0.10192,
    "h": 145
  },
  "luminance": 0.05196
}

Semantic roles & 50–950 ramp

primary
#0F4B17
secondary
#85307A
accent
#3ED3EA
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #0F4B17

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

Preview Lab → · Contrast checker → · Palette generator →

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