#0F4005#0F4005

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

Color values

HEX#0F4005
RGBrgb(15, 64, 5)
HSLhsl(110, 86%, 14%)
HSVhsv(110, 92%, 25%)
CMYKcmyk(76.6%, 0%, 92.2%, 74.9%)
CIE-LABlab(22.93, -28.44, 28.59)
CIE-LCHlch(22.93, 40.33, 134.84°)
OKLaboklab(32.63% -0.0778 0.0636)
OKLCHoklch(32.63% 0.101 140.7)
XYZxyz(2.0577, 3.7791, 0.7645)
Luminance0.0378 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4005 #360540
analogous
#2C4005 #0F4005 #054018
triadic
#0F4005 #050F40 #40050F
tetradic
#0F4005 #052C40 #360540 #401805
square
#0F4005 #052C40 #360540 #401805
split-complementary
#0F4005 #180540 #40052C
monochromatic
#071C02 #071C02 #0F4005 #1C7909 #2AB20E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F4005#FFFFFF#000000##FFFFFF
##0F40051.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)
#3C350C
Tritanopia (blue-blind)
#063E35
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #0f4005;
/* rgb */ color: rgb(15, 64, 5);
/* oklch */ color: oklch(32.6% 0.101 140.7);
Tailwind
colors: {
  custom: {
    50: '#56754b',
    500: '#0f4005',
    950: '#000000',
  },
}
SCSS
$custom: #0f4005;
$custom-light: #56754b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4005",
  "rgb": {
    "r": 15,
    "g": 64,
    "b": 5
  },
  "hsl": {
    "h": 109.831,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.32627,
    "c": 0.10055,
    "h": 140.7
  },
  "luminance": 0.03779
}

Semantic roles & 50–950 ramp

primary
#0F4005
secondary
#702081
accent
#2CFCD9
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030801
muted
#787B77

Preview Lab

Preview with #0F4005

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

Preview Lab → · Contrast checker → · Palette generator →

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