#0F4007#0F4007

#0F4007 is a dark, moderate green. Relative luminance 0.038; OKLCH L 32.6% C 0.099 H 141.2°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#0F4007
RGBrgb(15, 64, 7)
HSLhsl(112, 80%, 14%)
HSVhsv(112, 89%, 25%)
CMYKcmyk(76.6%, 0%, 89.1%, 74.9%)
CIE-LABlab(22.94, -28.26, 27.80)
CIE-LCHlch(22.94, 39.64, 135.47°)
OKLaboklab(32.64% -0.0772 0.0622)
OKLCHoklch(32.64% 0.099 141.2)
XYZxyz(2.0686, 3.7835, 0.8222)
Luminance0.0378 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4007 #380740
analogous
#2C4007 #0F4007 #07401C
triadic
#0F4007 #070F40 #40070F
tetradic
#0F4007 #072C40 #380740 #401C07
square
#0F4007 #072C40 #380740 #401C07
split-complementary
#0F4007 #1C0740 #40072C
monochromatic
#061C03 #061C03 #0F4007 #1C770D #29AE13

Accessibility & contrast

On white

11.95
#0F4007 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F4007
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4007#FFFFFF#000000##FFFFFF
##0F40071.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423900
Deuteranopia (green-blind)
#3C350D
Tritanopia (blue-blind)
#063E35
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #0f4007;
/* rgb */ color: rgb(15, 64, 7);
/* oklch */ color: oklch(32.6% 0.099 141.2);
Tailwind
colors: {
  custom: {
    50: '#56754c',
    500: '#0f4007',
    950: '#000000',
  },
}
SCSS
$custom: #0f4007;
$custom-light: #56754c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4007",
  "rgb": {
    "r": 15,
    "g": 64,
    "b": 7
  },
  "hsl": {
    "h": 111.579,
    "s": 80.282,
    "l": 13.922
  },
  "oklch": {
    "l": 0.32644,
    "c": 0.09913,
    "h": 141.2
  },
  "luminance": 0.03784
}

Semantic roles & 50–950 ramp

primary
#0F4007
secondary
#72247F
accent
#31F7DB
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030801
muted
#787B77

Preview Lab

Preview with #0F4007

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

Preview Lab → · Contrast checker → · Palette generator →

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