#0F4D0C#0F4D0C

#0F4D0C is a dark, moderate green. Relative luminance 0.054; OKLCH L 36.8% C 0.113 H 142.4°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#0F4D0C
RGBrgb(15, 77, 12)
HSLhsl(117, 73%, 17%)
HSVhsv(117, 84%, 30%)
CMYKcmyk(80.5%, 0%, 84.4%, 69.8%)
CIE-LABlab(27.94, -32.86, 30.72)
CIE-LCHlch(27.94, 44.98, 136.92°)
OKLaboklab(36.8% -0.0894 0.0689)
OKLCHoklch(36.8% 0.113 142.4)
XYZxyz(2.9171, 5.4355, 1.2432)
Luminance0.0544 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4D0C #4A0C4D
analogous
#2F4D0C #0F4D0C #0C4D2A
triadic
#0F4D0C #0C0F4D #4D0C0F
tetradic
#0F4D0C #0C2F4D #4A0C4D #4D2A0C
square
#0F4D0C #0C2F4D #4A0C4D #4D2A0C
split-complementary
#0F4D0C #2A0C4D #4D0C2F
monochromatic
#051A04 #051A04 #0F4D0C #198214 #24B71D

Accessibility & contrast

On white

10.06
#0F4D0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F4D0C
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4D0C#FFFFFF#000000##FFFFFF
##0F4D0C1.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4501
Deuteranopia (green-blind)
#484013
Tritanopia (blue-blind)
#004A41
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #0f4d0c;
/* rgb */ color: rgb(15, 77, 12);
/* oklch */ color: oklch(36.8% 0.113 142.4);
Tailwind
colors: {
  custom: {
    50: '#5a8050',
    500: '#0f4d0c',
    950: '#000000',
  },
}
SCSS
$custom: #0f4d0c;
$custom-light: #5a8050;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4d0c",
  "rgb": {
    "r": 15,
    "g": 77,
    "b": 12
  },
  "hsl": {
    "h": 117.231,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.36804,
    "c": 0.11285,
    "h": 142.4
  },
  "luminance": 0.05436
}

Semantic roles & 50–950 ramp

primary
#0F4D0C
secondary
#842C89
accent
#38F0E7
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78

Preview Lab

Preview with #0F4D0C

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

Preview Lab → · Contrast checker → · Palette generator →

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