#0F5116#0F5116

#0F5116 is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.1% C 0.111 H 144.4°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#0F5116
RGBrgb(15, 81, 22)
HSLhsl(126, 69%, 19%)
HSVhsv(126, 81%, 32%)
CMYKcmyk(81.5%, 0%, 72.8%, 68.2%)
CIE-LABlab(29.52, -33.37, 27.99)
CIE-LCHlch(29.52, 43.56, 140.01°)
OKLaboklab(38.14% -0.0902 0.0647)
OKLCHoklch(38.14% 0.111 144.4)
XYZxyz(3.2840, 6.0440, 1.7524)
Luminance0.0604 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5116 #510F4A
analogous
#29510F #0F5116 #0F5137
triadic
#0F5116 #160F51 #51160F
tetradic
#0F5116 #0F2951 #510F4A #51370F
square
#0F5116 #0F2951 #510F4A #51370F
split-complementary
#0F5116 #370F51 #510F29
monochromatic
#051A07 #051D08 #0F5116 #198524 #22B832

Accessibility & contrast

On white

9.51
#0F5116 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F5116
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5116#FFFFFF#000000##FFFFFF
##0F51161.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53490E
Deuteranopia (green-blind)
#4B441B
Tritanopia (blue-blind)
#004F45
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #0f5116;
/* rgb */ color: rgb(15, 81, 22);
/* oklch */ color: oklch(38.1% 0.111 144.4);
Tailwind
colors: {
  custom: {
    50: '#5a8356',
    500: '#0f5116',
    950: '#000000',
  },
}
SCSS
$custom: #0f5116;
$custom-light: #5a8356;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5116",
  "rgb": {
    "r": 15,
    "g": 81,
    "b": 22
  },
  "hsl": {
    "h": 126.364,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.38143,
    "c": 0.11098,
    "h": 144.4
  },
  "luminance": 0.06044
}

Semantic roles & 50–950 ramp

primary
#0F5116
secondary
#8B3182
accent
#3CD9EC
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040A03
muted
#797C78

Preview Lab

Preview with #0F5116

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

Preview Lab → · Contrast checker → · Palette generator →

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