#0F5117#0F5117

#0F5117 is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.2% C 0.110 H 144.6°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#0F5117
RGBrgb(15, 81, 23)
HSLhsl(127, 69%, 19%)
HSVhsv(127, 81%, 32%)
CMYKcmyk(81.5%, 0%, 71.6%, 68.2%)
CIE-LABlab(29.53, -33.25, 27.52)
CIE-LCHlch(29.53, 43.16, 140.39°)
OKLaboklab(38.16% -0.0898 0.0638)
OKLCHoklch(38.16% 0.11 144.6)
XYZxyz(3.2939, 6.0479, 1.8042)
Luminance0.0605 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5117 #510F49
analogous
#28510F #0F5117 #0F5138
triadic
#0F5117 #170F51 #51170F
tetradic
#0F5117 #0F2851 #510F49 #51380F
square
#0F5117 #0F2851 #510F49 #51380F
split-complementary
#0F5117 #380F51 #510F28
monochromatic
#051A07 #051D08 #0F5117 #198526 #22B834

Accessibility & contrast

On white

9.50
#0F5117 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#0F5117 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5117
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5117#FFFFFF#000000##FFFFFF
##0F51171.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534910
Deuteranopia (green-blind)
#4B441C
Tritanopia (blue-blind)
#004F45
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #0f5117;
/* rgb */ color: rgb(15, 81, 23);
/* oklch */ color: oklch(38.2% 0.110 144.6);
Tailwind
colors: {
  custom: {
    50: '#5a8357',
    500: '#0f5117',
    950: '#000000',
  },
}
SCSS
$custom: #0f5117;
$custom-light: #5a8357;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5117",
  "rgb": {
    "r": 15,
    "g": 81,
    "b": 23
  },
  "hsl": {
    "h": 127.273,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.38155,
    "c": 0.11017,
    "h": 144.6
  },
  "luminance": 0.06048
}

Semantic roles & 50–950 ramp

primary
#0F5117
secondary
#8B3180
accent
#3CD6EC
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040A03
muted
#797C78

Preview Lab

Preview with #0F5117

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

Preview Lab → · Contrast checker → · Palette generator →

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