#0F5317#0F5317

#0F5317 is a dark, moderate green. Relative luminance 0.064; OKLCH L 38.8% C 0.113 H 144.5°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#0F5317
RGBrgb(15, 83, 23)
HSLhsl(127, 69%, 19%)
HSVhsv(127, 82%, 33%)
CMYKcmyk(81.9%, 0%, 72.3%, 67.5%)
CIE-LABlab(30.28, -34.01, 28.33)
CIE-LCHlch(30.28, 44.26, 140.20°)
OKLaboklab(38.77% -0.0919 0.0655)
OKLCHoklch(38.77% 0.113 144.5)
XYZxyz(3.4447, 6.3495, 1.8545)
Luminance0.0635 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5317 #530F4B
analogous
#29530F #0F5317 #0F5339
triadic
#0F5317 #170F53 #53170F
tetradic
#0F5317 #0F2953 #530F4B #53390F
square
#0F5317 #0F2953 #530F4B #53390F
split-complementary
#0F5317 #390F53 #530F29
monochromatic
#051A07 #061F09 #0F5317 #188725 #22BB34

Accessibility & contrast

On white

9.25
#0F5317 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#0F5317 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5317
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5317#FFFFFF#000000##FFFFFF
##0F53171.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554A0F
Deuteranopia (green-blind)
#4D451D
Tritanopia (blue-blind)
#005147
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #0f5317;
/* rgb */ color: rgb(15, 83, 23);
/* oklch */ color: oklch(38.8% 0.113 144.5);
Tailwind
colors: {
  custom: {
    50: '#5b8457',
    500: '#0f5317',
    950: '#000000',
  },
}
SCSS
$custom: #0f5317;
$custom-light: #5b8457;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5317",
  "rgb": {
    "r": 15,
    "g": 83,
    "b": 23
  },
  "hsl": {
    "h": 127.059,
    "s": 69.388,
    "l": 19.216
  },
  "oklch": {
    "l": 0.38773,
    "c": 0.11285,
    "h": 144.5
  },
  "luminance": 0.0635
}

Semantic roles & 50–950 ramp

primary
#0F5317
secondary
#8D3182
accent
#3CD7EC
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B03
muted
#797C78

Preview Lab

Preview with #0F5317

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

Preview Lab → · Contrast checker → · Palette generator →

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