#0F5D1F#0F5D1F

#0F5D1F is a dark, moderate green. Relative luminance 0.080; OKLCH L 41.9% C 0.119 H 145.9°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#0F5D1F
RGBrgb(15, 93, 31)
HSLhsl(132, 72%, 21%)
HSVhsv(132, 84%, 36%)
CMYKcmyk(83.9%, 0%, 66.7%, 63.5%)
CIE-LABlab(34.04, -36.74, 28.57)
CIE-LCHlch(34.04, 46.54, 142.13°)
OKLaboklab(41.93% -0.0989 0.0669)
OKLCHoklch(41.93% 0.119 145.9)
XYZxyz(4.3584, 8.0287, 2.6160)
Luminance0.0803 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5D1F #5D0F4D
analogous
#265D0F #0F5D1F #0F5D46
triadic
#0F5D1F #1F0F5D #5D1F0F
tetradic
#0F5D1F #0F265D #5D0F4D #5D460F
square
#0F5D1F #0F265D #5D0F4D #5D460F
split-complementary
#0F5D1F #460F5D #5D0F26
monochromatic
#041A09 #06280D #0F5D1F #179231 #20C642

Accessibility & contrast

On white

8.06
#0F5D1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#0F5D1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5D1F
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5D1F#FFFFFF#000000##FFFFFF
##0F5D1F1.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5418
Deuteranopia (green-blind)
#564E24
Tritanopia (blue-blind)
#005B50
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #0f5d1f;
/* rgb */ color: rgb(15, 93, 31);
/* oklch */ color: oklch(41.9% 0.119 145.9);
Tailwind
colors: {
  custom: {
    50: '#5d8c5d',
    500: '#0f5d1f',
    950: '#000000',
  },
}
SCSS
$custom: #0f5d1f;
$custom-light: #5d8c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5d1f",
  "rgb": {
    "r": 15,
    "g": 93,
    "b": 31
  },
  "hsl": {
    "h": 132.308,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41925,
    "c": 0.11945,
    "h": 145.9
  },
  "luminance": 0.08029
}

Semantic roles & 50–950 ramp

primary
#0F5D1F
secondary
#963182
accent
#39CAEF
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #0F5D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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