#0F4F1C#0F4F1C

#0F4F1C is a dark, moderate green. Relative luminance 0.058; OKLCH L 37.6% C 0.103 H 146.3°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#0F4F1C
RGBrgb(15, 79, 28)
HSLhsl(132, 68%, 18%)
HSVhsv(132, 81%, 31%)
CMYKcmyk(81%, 0%, 64.6%, 69%)
CIE-LABlab(28.84, -31.80, 24.15)
CIE-LCHlch(28.84, 39.93, 142.78°)
OKLaboklab(37.6% -0.0857 0.0571)
OKLCHoklch(37.6% 0.103 146.3)
XYZxyz(3.2024, 5.7770, 2.0447)
Luminance0.0578 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4F1C #4F0F42
analogous
#224F0F #0F4F1C #0F4F3C
triadic
#0F4F1C #1C0F4F #4F1C0F
tetradic
#0F4F1C #0F224F #4F0F42 #4F3C0F
square
#0F4F1C #0F224F #4F0F42 #4F3C0F
split-complementary
#0F4F1C #3C0F4F #4F0F22
monochromatic
#051A09 #051C0A #0F4F1C #19822E #23B640

Accessibility & contrast

On white

9.74
#0F4F1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#0F4F1C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4F1C
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4F1C#FFFFFF#000000##FFFFFF
##0F4F1C1.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504717
Deuteranopia (green-blind)
#494220
Tritanopia (blue-blind)
#004D44
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #0f4f1c;
/* rgb */ color: rgb(15, 79, 28);
/* oklch */ color: oklch(37.6% 0.103 146.3);
Tailwind
colors: {
  custom: {
    50: '#59815a',
    500: '#0f4f1c',
    950: '#000000',
  },
}
SCSS
$custom: #0f4f1c;
$custom-light: #59815a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4f1c",
  "rgb": {
    "r": 15,
    "g": 79,
    "b": 28
  },
  "hsl": {
    "h": 132.188,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.376,
    "c": 0.10297,
    "h": 146.3
  },
  "luminance": 0.05777
}

Semantic roles & 50–950 ramp

primary
#0F4F1C
secondary
#893177
accent
#3DC8EB
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #0F4F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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