#0F5617#0F5617

#0F5617 is a dark, moderate green. Relative luminance 0.068; OKLCH L 39.7% C 0.117 H 144.4°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#0F5617
RGBrgb(15, 86, 23)
HSLhsl(127, 70%, 20%)
HSVhsv(127, 83%, 34%)
CMYKcmyk(82.6%, 0%, 73.3%, 66.3%)
CIE-LABlab(31.39, -35.13, 29.54)
CIE-LCHlch(31.39, 45.90, 139.94°)
OKLaboklab(39.7% -0.095 0.068)
OKLCHoklch(39.7% 0.117 144.4)
XYZxyz(3.6792, 6.8186, 1.9327)
Luminance0.0682 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5617 #560F4E
analogous
#2A560F #0F5617 #0F563B
triadic
#0F5617 #170F56 #56170F
tetradic
#0F5617 #0F2A56 #560F4E #563B0F
square
#0F5617 #0F2A56 #560F4E #563B0F
split-complementary
#0F5617 #3B0F56 #560F2A
monochromatic
#051A07 #062209 #0F5617 #188A25 #21BE33

Accessibility & contrast

On white

8.88
#0F5617 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#0F5617 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5617
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5617#FFFFFF#000000##FFFFFF
##0F56171.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D0E
Deuteranopia (green-blind)
#50481D
Tritanopia (blue-blind)
#005349
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #0f5617;
/* rgb */ color: rgb(15, 86, 23);
/* oklch */ color: oklch(39.7% 0.117 144.4);
Tailwind
colors: {
  custom: {
    50: '#5c8658',
    500: '#0f5617',
    950: '#000000',
  },
}
SCSS
$custom: #0f5617;
$custom-light: #5c8658;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5617",
  "rgb": {
    "r": 15,
    "g": 86,
    "b": 23
  },
  "hsl": {
    "h": 126.761,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.39697,
    "c": 0.11681,
    "h": 144.4
  },
  "luminance": 0.06819
}

Semantic roles & 50–950 ramp

primary
#0F5617
secondary
#903185
accent
#3BD9ED
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #0F5617

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

Preview Lab → · Contrast checker → · Palette generator →

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