#0F5D1B#0F5D1B

#0F5D1B is a dark, vivid green. Relative luminance 0.080; OKLCH L 41.9% C 0.123 H 144.9°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#0F5D1B
RGBrgb(15, 93, 27)
HSLhsl(129, 72%, 21%)
HSVhsv(129, 84%, 36%)
CMYKcmyk(83.9%, 0%, 71%, 63.5%)
CIE-LABlab(34.00, -37.24, 30.48)
CIE-LCHlch(34.00, 48.12, 140.70°)
OKLaboklab(41.88% -0.1005 0.0705)
OKLCHoklch(41.88% 0.123 144.9)
XYZxyz(4.3089, 8.0089, 2.3555)
Luminance0.0801 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5D1B #5D0F51
analogous
#2A5D0F #0F5D1B #0F5D42
triadic
#0F5D1B #1B0F5D #5D1B0F
tetradic
#0F5D1B #0F2A5D #5D0F51 #5D420F
square
#0F5D1B #0F2A5D #5D0F51 #5D420F
split-complementary
#0F5D1B #420F5D #5D0F2A
monochromatic
#041A08 #06280C #0F5D1B #17922A #20C63A

Accessibility & contrast

On white

8.07
#0F5D1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#0F5D1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5D1B
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5D1B#FFFFFF#000000##FFFFFF
##0F5D1B1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5412
Deuteranopia (green-blind)
#564E21
Tritanopia (blue-blind)
#005A4F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #0f5d1b;
/* rgb */ color: rgb(15, 93, 27);
/* oklch */ color: oklch(41.9% 0.123 144.9);
Tailwind
colors: {
  custom: {
    50: '#5d8c5b',
    500: '#0f5d1b',
    950: '#000000',
  },
}
SCSS
$custom: #0f5d1b;
$custom-light: #5d8c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5d1b",
  "rgb": {
    "r": 15,
    "g": 93,
    "b": 27
  },
  "hsl": {
    "h": 129.231,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41877,
    "c": 0.12277,
    "h": 144.9
  },
  "luminance": 0.08009
}

Semantic roles & 50–950 ramp

primary
#0F5D1B
secondary
#963187
accent
#39D3EF
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #0F5D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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