#0F4718#0F4718

#0F4718 is a dark, moderate green. Relative luminance 0.047; OKLCH L 35.1% C 0.095 H 145.7°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#0F4718
RGBrgb(15, 71, 24)
HSLhsl(130, 65%, 17%)
HSVhsv(130, 79%, 28%)
CMYKcmyk(78.9%, 0%, 66.2%, 72.2%)
CIE-LABlab(25.78, -29.16, 22.77)
CIE-LCHlch(25.78, 37.00, 142.02°)
OKLaboklab(35.05% -0.0787 0.0537)
OKLCHoklch(35.05% 0.095 145.7)
XYZxyz(2.6149, 4.6737, 1.6283)
Luminance0.0467 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4718 #470F3E
analogous
#22470F #0F4718 #0F4734
triadic
#0F4718 #180F47 #47180F
tetradic
#0F4718 #0F2247 #470F3E #47340F
square
#0F4718 #0F2247 #470F3E #47340F
split-complementary
#0F4718 #340F47 #470F22
monochromatic
#051909 #051909 #0F4718 #1A7A29 #24AC3A

Accessibility & contrast

On white

10.85
#0F4718 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#0F4718 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4718
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4718#FFFFFF#000000##FFFFFF
##0F47181.0010.851.9310.85
#FFFFFF10.851.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484013
Deuteranopia (green-blind)
#423B1C
Tritanopia (blue-blind)
#00453D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #0f4718;
/* rgb */ color: rgb(15, 71, 24);
/* oklch */ color: oklch(35.1% 0.095 145.7);
Tailwind
colors: {
  custom: {
    50: '#577b56',
    500: '#0f4718',
    950: '#000000',
  },
}
SCSS
$custom: #0f4718;
$custom-light: #577b56;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4718",
  "rgb": {
    "r": 15,
    "g": 71,
    "b": 24
  },
  "hsl": {
    "h": 129.643,
    "s": 65.116,
    "l": 16.863
  },
  "oklch": {
    "l": 0.35051,
    "c": 0.0953,
    "h": 145.7
  },
  "luminance": 0.04674
}

Semantic roles & 50–950 ramp

primary
#0F4718
secondary
#813074
accent
#40CDE8
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040903
muted
#797B78

Preview Lab

Preview with #0F4718

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

Preview Lab → · Contrast checker → · Palette generator →

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