#0F5B1D#0F5B1D

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

Color values

HEX#0F5B1D
RGBrgb(15, 91, 29)
HSLhsl(131, 72%, 21%)
HSVhsv(131, 84%, 36%)
CMYKcmyk(83.5%, 0%, 68.1%, 64.3%)
CIE-LABlab(33.29, -36.26, 28.72)
CIE-LCHlch(33.29, 46.25, 141.61°)
OKLaboklab(41.29% -0.0977 0.067)
OKLCHoklch(41.29% 0.119 145.6)
XYZxyz(4.1596, 7.6719, 2.4238)
Luminance0.0767 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5B1D #5B0F4D
analogous
#275B0F #0F5B1D #0F5B43
triadic
#0F5B1D #1D0F5B #5B1D0F
tetradic
#0F5B1D #0F275B #5B0F4D #5B430F
square
#0F5B1D #0F275B #5B0F4D #5B430F
split-complementary
#0F5B1D #430F5B #5B0F27
monochromatic
#041A08 #06260C #0F5B1D #18902E #20C43E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F5B1D#FFFFFF#000000##FFFFFF
##0F5B1D1.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)
#5D5216
Deuteranopia (green-blind)
#544C22
Tritanopia (blue-blind)
#00594E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #0f5b1d;
/* rgb */ color: rgb(15, 91, 29);
/* oklch */ color: oklch(41.3% 0.119 145.6);
Tailwind
colors: {
  custom: {
    50: '#5d8a5c',
    500: '#0f5b1d',
    950: '#000000',
  },
}
SCSS
$custom: #0f5b1d;
$custom-light: #5d8a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5b1d",
  "rgb": {
    "r": 15,
    "g": 91,
    "b": 29
  },
  "hsl": {
    "h": 131.053,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.41293,
    "c": 0.11851,
    "h": 145.6
  },
  "luminance": 0.07672
}

Semantic roles & 50–950 ramp

primary
#0F5B1D
secondary
#953182
accent
#39CDEE
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #0F5B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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