#0F5B11#0F5B11

#0F5B11 is a dark, vivid green. Relative luminance 0.076; OKLCH L 41.2% C 0.127 H 143.1°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#0F5B11
RGBrgb(15, 91, 17)
HSLhsl(122, 72%, 21%)
HSVhsv(122, 84%, 36%)
CMYKcmyk(83.5%, 0%, 81.3%, 64.3%)
CIE-LABlab(33.19, -37.53, 33.96)
CIE-LCHlch(33.19, 50.61, 137.86°)
OKLaboklab(41.17% -0.1018 0.0764)
OKLCHoklch(41.17% 0.127 143.1)
XYZxyz(4.0390, 7.6237, 1.7889)
Luminance0.0762 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5B11 #5B0F59
analogous
#335B0F #0F5B11 #0F5B37
triadic
#0F5B11 #110F5B #5B110F
tetradic
#0F5B11 #0F335B #5B0F59 #5B370F
square
#0F5B11 #0F335B #5B0F59 #5B370F
split-complementary
#0F5B11 #370F5B #5B0F33
monochromatic
#041A05 #062607 #0F5B11 #18901B #20C425

Accessibility & contrast

On white

8.32
#0F5B11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#0F5B11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5B11
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5B11#FFFFFF#000000##FFFFFF
##0F5B111.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5203
Deuteranopia (green-blind)
#554C19
Tritanopia (blue-blind)
#00584D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #0f5b11;
/* rgb */ color: rgb(15, 91, 17);
/* oklch */ color: oklch(41.2% 0.127 143.1);
Tailwind
colors: {
  custom: {
    50: '#5d8a55',
    500: '#0f5b11',
    950: '#000000',
  },
}
SCSS
$custom: #0f5b11;
$custom-light: #5d8a55;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5b11",
  "rgb": {
    "r": 15,
    "g": 91,
    "b": 17
  },
  "hsl": {
    "h": 121.579,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.41174,
    "c": 0.12728,
    "h": 143.1
  },
  "luminance": 0.07624
}

Semantic roles & 50–950 ramp

primary
#0F5B11
secondary
#953192
accent
#39EAEE
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C03
muted
#797D78

Preview Lab

Preview with #0F5B11

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

Preview Lab → · Contrast checker → · Palette generator →

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