#0F5B1C#0F5B1C

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

Color values

HEX#0F5B1C
RGBrgb(15, 91, 28)
HSLhsl(130, 72%, 21%)
HSVhsv(130, 84%, 36%)
CMYKcmyk(83.5%, 0%, 69.2%, 64.3%)
CIE-LABlab(33.28, -36.38, 29.20)
CIE-LCHlch(33.28, 46.66, 141.25°)
OKLaboklab(41.28% -0.0981 0.0679)
OKLCHoklch(41.28% 0.119 145.3)
XYZxyz(4.1474, 7.6671, 2.3597)
Luminance0.0767 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5B1C #5B0F4E
analogous
#285B0F #0F5B1C #0F5B42
triadic
#0F5B1C #1C0F5B #5B1C0F
tetradic
#0F5B1C #0F285B #5B0F4E #5B420F
square
#0F5B1C #0F285B #5B0F4E #5B420F
split-complementary
#0F5B1C #420F5B #5B0F28
monochromatic
#041A08 #06260C #0F5B1C #18902C #20C43C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #0f5b1c;
/* rgb */ color: rgb(15, 91, 28);
/* oklch */ color: oklch(41.3% 0.119 145.3);
Tailwind
colors: {
  custom: {
    50: '#5d8a5b',
    500: '#0f5b1c',
    950: '#000000',
  },
}
SCSS
$custom: #0f5b1c;
$custom-light: #5d8a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5b1c",
  "rgb": {
    "r": 15,
    "g": 91,
    "b": 28
  },
  "hsl": {
    "h": 130.263,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.41281,
    "c": 0.11935,
    "h": 145.3
  },
  "luminance": 0.07668
}

Semantic roles & 50–950 ramp

primary
#0F5B1C
secondary
#953184
accent
#39CFEE
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #0F5B1C

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

Preview Lab → · Contrast checker → · Palette generator →

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