#0F4D0D#0F4D0D

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

Color values

HEX#0F4D0D
RGBrgb(15, 77, 13)
HSLhsl(118, 71%, 18%)
HSVhsv(118, 83%, 30%)
CMYKcmyk(80.5%, 0%, 83.1%, 69.8%)
CIE-LABlab(27.95, -32.77, 30.34)
CIE-LCHlch(27.95, 44.66, 137.21°)
OKLaboklab(36.81% -0.0891 0.0683)
OKLCHoklch(36.81% 0.112 142.5)
XYZxyz(2.9233, 5.4380, 1.2763)
Luminance0.0544 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4D0D #4B0D4D
analogous
#2F4D0D #0F4D0D #0D4D2B
triadic
#0F4D0D #0D0F4D #4D0D0F
tetradic
#0F4D0D #0D2F4D #4B0D4D #4D2B0D
square
#0F4D0D #0D2F4D #4B0D4D #4D2B0D
split-complementary
#0F4D0D #2B0D4D #4D0D2F
monochromatic
#051A04 #051A04 #0F4D0D #198116 #23B61F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F4D0D#FFFFFF#000000##FFFFFF
##0F4D0D1.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)
#4F4502
Deuteranopia (green-blind)
#484014
Tritanopia (blue-blind)
#004A41
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #0f4d0d;
/* rgb */ color: rgb(15, 77, 13);
/* oklch */ color: oklch(36.8% 0.112 142.5);
Tailwind
colors: {
  custom: {
    50: '#5a8051',
    500: '#0f4d0d',
    950: '#000000',
  },
}
SCSS
$custom: #0f4d0d;
$custom-light: #5a8051;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4d0d",
  "rgb": {
    "r": 15,
    "g": 77,
    "b": 13
  },
  "hsl": {
    "h": 118.125,
    "s": 71.111,
    "l": 17.647
  },
  "oklch": {
    "l": 0.36812,
    "c": 0.11224,
    "h": 142.5
  },
  "luminance": 0.05438
}

Semantic roles & 50–950 ramp

primary
#0F4D0D
secondary
#852E88
accent
#3AEEE8
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78

Preview Lab

Preview with #0F4D0D

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

Preview Lab → · Contrast checker → · Palette generator →

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