#0F5C1D#0F5C1D

#0F5C1D is a dark, moderate green. Relative luminance 0.078; OKLCH L 41.6% C 0.120 H 145.5°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#0F5C1D
RGBrgb(15, 92, 29)
HSLhsl(131, 72%, 21%)
HSVhsv(131, 84%, 36%)
CMYKcmyk(83.7%, 0%, 68.5%, 63.9%)
CIE-LABlab(33.66, -36.63, 29.13)
CIE-LCHlch(33.66, 46.80, 141.50°)
OKLaboklab(41.6% -0.0987 0.0679)
OKLCHoklch(41.6% 0.12 145.5)
XYZxyz(4.2456, 7.8441, 2.4525)
Luminance0.0785 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5C1D #5C0F4E
analogous
#275C0F #0F5C1D #0F5C43
triadic
#0F5C1D #1D0F5C #5C1D0F
tetradic
#0F5C1D #0F275C #5C0F4E #5C430F
square
#0F5C1D #0F275C #5C0F4E #5C430F
split-complementary
#0F5C1D #430F5C #5C0F27
monochromatic
#041A08 #06270C #0F5C1D #18912E #20C53E

Accessibility & contrast

On white

8.17
#0F5C1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#0F5C1D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5C1D
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5C1D#FFFFFF#000000##FFFFFF
##0F5C1D1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5315
Deuteranopia (green-blind)
#554D23
Tritanopia (blue-blind)
#00594F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #0f5c1d;
/* rgb */ color: rgb(15, 92, 29);
/* oklch */ color: oklch(41.6% 0.120 145.5);
Tailwind
colors: {
  custom: {
    50: '#5d8b5c',
    500: '#0f5c1d',
    950: '#000000',
  },
}
SCSS
$custom: #0f5c1d;
$custom-light: #5d8b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5c1d",
  "rgb": {
    "r": 15,
    "g": 92,
    "b": 29
  },
  "hsl": {
    "h": 130.909,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.41597,
    "c": 0.11983,
    "h": 145.5
  },
  "luminance": 0.07845
}

Semantic roles & 50–950 ramp

primary
#0F5C1D
secondary
#953183
accent
#39CEEF
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #0F5C1D

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

Preview Lab → · Contrast checker → · Palette generator →

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