#0F4E0C#0F4E0C

#0F4E0C is a dark, moderate green. Relative luminance 0.056; OKLCH L 37.1% C 0.114 H 142.4°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#0F4E0C
RGBrgb(15, 78, 12)
HSLhsl(117, 73%, 18%)
HSVhsv(117, 85%, 31%)
CMYKcmyk(80.8%, 0%, 84.6%, 69.4%)
CIE-LABlab(28.32, -33.23, 31.09)
CIE-LCHlch(28.32, 45.51, 136.90°)
OKLaboklab(37.12% -0.0904 0.0697)
OKLCHoklch(37.12% 0.114 142.4)
XYZxyz(2.9876, 5.5765, 1.2667)
Luminance0.0558 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4E0C #4B0C4E
analogous
#304E0C #0F4E0C #0C4E2A
triadic
#0F4E0C #0C0F4E #4E0C0F
tetradic
#0F4E0C #0C304E #4B0C4E #4E2A0C
square
#0F4E0C #0C304E #4B0C4E #4E2A0C
split-complementary
#0F4E0C #2A0C4E #4E0C30
monochromatic
#051B04 #051B04 #0F4E0C #198314 #23B81C

Accessibility & contrast

On white

9.93
#0F4E0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#0F4E0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4E0C
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4E0C#FFFFFF#000000##FFFFFF
##0F4E0C1.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504601
Deuteranopia (green-blind)
#494114
Tritanopia (blue-blind)
#004B42
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #0f4e0c;
/* rgb */ color: rgb(15, 78, 12);
/* oklch */ color: oklch(37.1% 0.114 142.4);
Tailwind
colors: {
  custom: {
    50: '#5a8050',
    500: '#0f4e0c',
    950: '#000000',
  },
}
SCSS
$custom: #0f4e0c;
$custom-light: #5a8050;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4e0c",
  "rgb": {
    "r": 15,
    "g": 78,
    "b": 12
  },
  "hsl": {
    "h": 117.273,
    "s": 73.333,
    "l": 17.647
  },
  "oklch": {
    "l": 0.37117,
    "c": 0.11412,
    "h": 142.4
  },
  "luminance": 0.05577
}

Semantic roles & 50–950 ramp

primary
#0F4E0C
secondary
#852C8A
accent
#38F0E8
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78

Preview Lab

Preview with #0F4E0C

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

Preview Lab → · Contrast checker → · Palette generator →

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