#0F5B1B#0F5B1B

#0F5B1B is a dark, vivid green. Relative luminance 0.077; OKLCH L 41.3% C 0.120 H 145.1°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#0F5B1B
RGBrgb(15, 91, 27)
HSLhsl(129, 72%, 21%)
HSVhsv(129, 84%, 36%)
CMYKcmyk(83.5%, 0%, 70.3%, 64.3%)
CIE-LABlab(33.27, -36.51, 29.68)
CIE-LCHlch(33.27, 47.05, 140.89°)
OKLaboklab(41.27% -0.0985 0.0688)
OKLCHoklch(41.27% 0.12 145.1)
XYZxyz(4.1356, 7.6624, 2.2977)
Luminance0.0766 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5B1B #5B0F4F
analogous
#295B0F #0F5B1B #0F5B41
triadic
#0F5B1B #1B0F5B #5B1B0F
tetradic
#0F5B1B #0F295B #5B0F4F #5B410F
square
#0F5B1B #0F295B #5B0F4F #5B410F
split-complementary
#0F5B1B #410F5B #5B0F29
monochromatic
#041A08 #06260B #0F5B1B #18902B #20C43A

Accessibility & contrast

On white

8.29
#0F5B1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#0F5B1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5B1B
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5B1B#FFFFFF#000000##FFFFFF
##0F5B1B1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5213
Deuteranopia (green-blind)
#544C21
Tritanopia (blue-blind)
#00584E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #0f5b1b;
/* rgb */ color: rgb(15, 91, 27);
/* oklch */ color: oklch(41.3% 0.120 145.1);
Tailwind
colors: {
  custom: {
    50: '#5d8a5b',
    500: '#0f5b1b',
    950: '#000000',
  },
}
SCSS
$custom: #0f5b1b;
$custom-light: #5d8a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5b1b",
  "rgb": {
    "r": 15,
    "g": 91,
    "b": 27
  },
  "hsl": {
    "h": 129.474,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.4127,
    "c": 0.12017,
    "h": 145.1
  },
  "luminance": 0.07663
}

Semantic roles & 50–950 ramp

primary
#0F5B1B
secondary
#953185
accent
#39D2EE
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #0F5B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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