#0F5F11#0F5F11

#0F5F11 is a dark, vivid green. Relative luminance 0.083; OKLCH L 42.4% C 0.132 H 143.0°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#0F5F11
RGBrgb(15, 95, 17)
HSLhsl(122, 73%, 22%)
HSVhsv(122, 84%, 37%)
CMYKcmyk(84.2%, 0%, 82.1%, 62.7%)
CIE-LABlab(34.65, -38.93, 35.40)
CIE-LCHlch(34.65, 52.62, 137.72°)
OKLaboklab(42.39% -0.1056 0.0795)
OKLCHoklch(42.39% 0.132 143)
XYZxyz(4.3901, 8.3259, 1.9059)
Luminance0.0833 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5F11 #5F0F5D
analogous
#355F0F #0F5F11 #0F5F39
triadic
#0F5F11 #110F5F #5F110F
tetradic
#0F5F11 #0F355F #5F0F5D #5F390F
square
#0F5F11 #0F355F #5F0F5D #5F390F
split-complementary
#0F5F11 #390F5F #5F0F35
monochromatic
#041A05 #072A08 #0F5F11 #17941A #20C924

Accessibility & contrast

On white

7.88
#0F5F11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#0F5F11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5F11
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5F11#FFFFFF#000000##FFFFFF
##0F5F111.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615501
Deuteranopia (green-blind)
#594F1A
Tritanopia (blue-blind)
#005C50
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #0f5f11;
/* rgb */ color: rgb(15, 95, 17);
/* oklch */ color: oklch(42.4% 0.132 143.0);
Tailwind
colors: {
  custom: {
    50: '#5f8d56',
    500: '#0f5f11',
    950: '#000000',
  },
}
SCSS
$custom: #0f5f11;
$custom-light: #5f8d56;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5f11",
  "rgb": {
    "r": 15,
    "g": 95,
    "b": 17
  },
  "hsl": {
    "h": 121.5,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42393,
    "c": 0.13213,
    "h": 143
  },
  "luminance": 0.08326
}

Semantic roles & 50–950 ramp

primary
#0F5F11
secondary
#983296
accent
#38EBEF
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C03
muted
#7A7D78

Preview Lab

Preview with #0F5F11

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

Preview Lab → · Contrast checker → · Palette generator →

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