#0F5615#0F5615

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

Color values

HEX#0F5615
RGBrgb(15, 86, 21)
HSLhsl(125, 70%, 20%)
HSVhsv(125, 83%, 34%)
CMYKcmyk(82.6%, 0%, 75.6%, 66.3%)
CIE-LABlab(31.37, -35.35, 30.44)
CIE-LCHlch(31.37, 46.65, 139.27°)
OKLaboklab(39.68% -0.0956 0.0697)
OKLCHoklch(39.68% 0.118 143.9)
XYZxyz(3.6599, 6.8108, 1.8311)
Luminance0.0681 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5615 #560F50
analogous
#2D560F #0F5615 #0F5638
triadic
#0F5615 #150F56 #56150F
tetradic
#0F5615 #0F2D56 #560F50 #56380F
square
#0F5615 #0F2D56 #560F50 #56380F
split-complementary
#0F5615 #380F56 #560F2D
monochromatic
#051A06 #062208 #0F5615 #188A22 #21BE2E

Accessibility & contrast

On white

8.89
#0F5615 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F5615
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5615#FFFFFF#000000##FFFFFF
##0F56151.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f5615;
/* rgb */ color: rgb(15, 86, 21);
/* oklch */ color: oklch(39.7% 0.118 143.9);
Tailwind
colors: {
  custom: {
    50: '#5c8656',
    500: '#0f5615',
    950: '#000000',
  },
}
SCSS
$custom: #0f5615;
$custom-light: #5c8656;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5615",
  "rgb": {
    "r": 15,
    "g": 86,
    "b": 21
  },
  "hsl": {
    "h": 125.07,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.39676,
    "c": 0.11832,
    "h": 143.9
  },
  "luminance": 0.06811
}

Semantic roles & 50–950 ramp

primary
#0F5615
secondary
#903188
accent
#3BDEED
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #0F5615

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

Preview Lab → · Contrast checker → · Palette generator →

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