#0F4C1F#0F4C1F

#0F4C1F is a dark, moderate green. Relative luminance 0.054; OKLCH L 36.7% C 0.096 H 147.9°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#0F4C1F
RGBrgb(15, 76, 31)
HSLhsl(136, 67%, 18%)
HSVhsv(136, 80%, 30%)
CMYKcmyk(80.3%, 0%, 59.2%, 70.2%)
CIE-LABlab(27.76, -30.11, 21.20)
CIE-LCHlch(27.76, 36.83, 144.85°)
OKLaboklab(36.72% -0.081 0.0509)
OKLCHoklch(36.72% 0.096 147.9)
XYZxyz(3.0285, 5.3690, 2.1728)
Luminance0.0537 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4C1F #4C0F3C
analogous
#1D4C0F #0F4C1F #0F4C3D
triadic
#0F4C1F #1F0F4C #4C1F0F
tetradic
#0F4C1F #0F1D4C #4C0F3C #4C3D0F
square
#0F4C1F #0F1D4C #4C0F3C #4C3D0F
split-complementary
#0F4C1F #3D0F4C #4C0F1D
monochromatic
#051A0A #051A0A #0F4C1F #197F34 #23B249

Accessibility & contrast

On white

10.13
#0F4C1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#0F4C1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4C1F
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4C1F#FFFFFF#000000##FFFFFF
##0F4C1F1.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D451B
Deuteranopia (green-blind)
#464022
Tritanopia (blue-blind)
#004A42
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #0f4c1f;
/* rgb */ color: rgb(15, 76, 31);
/* oklch */ color: oklch(36.7% 0.096 147.9);
Tailwind
colors: {
  custom: {
    50: '#587f5c',
    500: '#0f4c1f',
    950: '#000000',
  },
}
SCSS
$custom: #0f4c1f;
$custom-light: #587f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4c1f",
  "rgb": {
    "r": 15,
    "g": 76,
    "b": 31
  },
  "hsl": {
    "h": 135.738,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.36718,
    "c": 0.09571,
    "h": 147.9
  },
  "luminance": 0.05369
}

Semantic roles & 50–950 ramp

primary
#0F4C1F
secondary
#863170
accent
#3EBDEA
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #0F4C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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