#0F4012#0F4012

#0F4012 is a dark, moderate green. Relative luminance 0.038; OKLCH L 32.8% C 0.091 H 144.0°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#0F4012
RGBrgb(15, 64, 18)
HSLhsl(124, 62%, 15%)
HSVhsv(124, 77%, 25%)
CMYKcmyk(76.6%, 0%, 71.9%, 74.9%)
CIE-LABlab(23.04, -27.10, 22.86)
CIE-LCHlch(23.04, 35.45, 139.85°)
OKLaboklab(32.76% -0.0734 0.0533)
OKLCHoklch(32.76% 0.091 144)
XYZxyz(2.1394, 3.8118, 1.1951)
Luminance0.0381 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4012 #400F3D
analogous
#24400F #0F4012 #0F402A
triadic
#0F4012 #120F40 #40120F
tetradic
#0F4012 #0F2440 #400F3D #402A0F
square
#0F4012 #0F2440 #400F3D #402A0F
split-complementary
#0F4012 #2A0F40 #400F24
monochromatic
#061907 #061907 #0F4012 #1B7220 #26A32E

Accessibility & contrast

On white

11.92
#0F4012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#0F4012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4012
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4012#FFFFFF#000000##FFFFFF
##0F40121.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41390D
Deuteranopia (green-blind)
#3C3516
Tritanopia (blue-blind)
#033E36
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #0f4012;
/* rgb */ color: rgb(15, 64, 18);
/* oklch */ color: oklch(32.8% 0.091 144.0);
Tailwind
colors: {
  custom: {
    50: '#567552',
    500: '#0f4012',
    950: '#000000',
  },
}
SCSS
$custom: #0f4012;
$custom-light: #567552;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4012",
  "rgb": {
    "r": 15,
    "g": 64,
    "b": 18
  },
  "hsl": {
    "h": 123.673,
    "s": 62.025,
    "l": 15.49
  },
  "oklch": {
    "l": 0.32755,
    "c": 0.09071,
    "h": 144
  },
  "luminance": 0.03812
}

Semantic roles & 50–950 ramp

primary
#0F4012
secondary
#7A3076
accent
#43DBE5
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030802
muted
#787B78

Preview Lab

Preview with #0F4012

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

Preview Lab → · Contrast checker → · Palette generator →

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