#0F4004#0F4004

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

Color values

HEX#0F4004
RGBrgb(15, 64, 4)
HSLhsl(109, 88%, 13%)
HSVhsv(109, 94%, 25%)
CMYKcmyk(76.6%, 0%, 93.8%, 74.9%)
CIE-LABlab(22.92, -28.53, 28.99)
CIE-LCHlch(22.92, 40.68, 134.54°)
OKLaboklab(32.62% -0.0782 0.0644)
OKLCHoklch(32.62% 0.101 140.5)
XYZxyz(2.0522, 3.7769, 0.7357)
Luminance0.0378 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4004 #350440
analogous
#2D4004 #0F4004 #044017
triadic
#0F4004 #040F40 #40040F
tetradic
#0F4004 #042D40 #350440 #401704
square
#0F4004 #042D40 #350440 #401704
split-complementary
#0F4004 #170440 #40042D
monochromatic
#071D02 #071D02 #0F4004 #1C7A08 #2AB30B

Accessibility & contrast

On white

11.96
#0F4004 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F4004
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4004#FFFFFF#000000##FFFFFF
##0F40041.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f4004;
/* rgb */ color: rgb(15, 64, 4);
/* oklch */ color: oklch(32.6% 0.101 140.5);
Tailwind
colors: {
  custom: {
    50: '#56754a',
    500: '#0f4004',
    950: '#000000',
  },
}
SCSS
$custom: #0f4004;
$custom-light: #56754a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4004",
  "rgb": {
    "r": 15,
    "g": 64,
    "b": 4
  },
  "hsl": {
    "h": 109,
    "s": 88.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.32618,
    "c": 0.10127,
    "h": 140.5
  },
  "luminance": 0.03777
}

Semantic roles & 50–950 ramp

primary
#0F4004
secondary
#6F1F81
accent
#29FED7
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030801
muted
#787B77

Preview Lab

Preview with #0F4004

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

Preview Lab → · Contrast checker → · Palette generator →

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