#0F4112#0F4112

#0F4112 is a dark, moderate green. Relative luminance 0.039; OKLCH L 33.1% C 0.092 H 144.0°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#0F4112
RGBrgb(15, 65, 18)
HSLhsl(124, 63%, 16%)
HSVhsv(124, 77%, 25%)
CMYKcmyk(76.9%, 0%, 72.3%, 74.5%)
CIE-LABlab(23.42, -27.52, 23.29)
CIE-LCHlch(23.42, 36.05, 139.75°)
OKLaboklab(33.07% -0.0745 0.0542)
OKLCHoklch(33.07% 0.092 144)
XYZxyz(2.1963, 3.9256, 1.2141)
Luminance0.0393 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4112 #410F3E
analogous
#25410F #0F4112 #0F412B
triadic
#0F4112 #120F41 #41120F
tetradic
#0F4112 #0F2541 #410F3E #412B0F
square
#0F4112 #0F2541 #410F3E #412B0F
split-complementary
#0F4112 #2B0F41 #410F25
monochromatic
#061907 #061907 #0F4112 #1A7320 #26A42E

Accessibility & contrast

On white

11.76
#0F4112 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#0F4112 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4112
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4112#FFFFFF#000000##FFFFFF
##0F41121.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A0C
Deuteranopia (green-blind)
#3C3616
Tritanopia (blue-blind)
#033F37
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #0f4112;
/* rgb */ color: rgb(15, 65, 18);
/* oklch */ color: oklch(33.1% 0.092 144.0);
Tailwind
colors: {
  custom: {
    50: '#567652',
    500: '#0f4112',
    950: '#000000',
  },
}
SCSS
$custom: #0f4112;
$custom-light: #567652;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4112",
  "rgb": {
    "r": 15,
    "g": 65,
    "b": 18
  },
  "hsl": {
    "h": 123.6,
    "s": 62.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.33074,
    "c": 0.09216,
    "h": 144
  },
  "luminance": 0.03926
}

Semantic roles & 50–950 ramp

primary
#0F4112
secondary
#7B3077
accent
#42DCE6
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030802
muted
#787B78

Preview Lab

Preview with #0F4112

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

Preview Lab → · Contrast checker → · Palette generator →

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