#0F5D1C#0F5D1C

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

Color values

HEX#0F5D1C
RGBrgb(15, 93, 28)
HSLhsl(130, 72%, 21%)
HSVhsv(130, 84%, 36%)
CMYKcmyk(83.9%, 0%, 69.9%, 63.5%)
CIE-LABlab(34.01, -37.12, 30.01)
CIE-LCHlch(34.01, 47.74, 141.04°)
OKLaboklab(41.89% -0.1001 0.0697)
OKLCHoklch(41.89% 0.122 145.2)
XYZxyz(4.3206, 8.0136, 2.4174)
Luminance0.0801 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5D1C #5D0F50
analogous
#295D0F #0F5D1C #0F5D43
triadic
#0F5D1C #1C0F5D #5D1C0F
tetradic
#0F5D1C #0F295D #5D0F50 #5D430F
square
#0F5D1C #0F295D #5D0F50 #5D430F
split-complementary
#0F5D1C #430F5D #5D0F29
monochromatic
#041A08 #06280C #0F5D1C #17922C #20C63C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F5D1C#FFFFFF#000000##FFFFFF
##0F5D1C1.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)
#5F5414
Deuteranopia (green-blind)
#564E22
Tritanopia (blue-blind)
#005A50
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #0f5d1c;
/* rgb */ color: rgb(15, 93, 28);
/* oklch */ color: oklch(41.9% 0.122 145.2);
Tailwind
colors: {
  custom: {
    50: '#5d8c5b',
    500: '#0f5d1c',
    950: '#000000',
  },
}
SCSS
$custom: #0f5d1c;
$custom-light: #5d8c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5d1c",
  "rgb": {
    "r": 15,
    "g": 93,
    "b": 28
  },
  "hsl": {
    "h": 130,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41889,
    "c": 0.12197,
    "h": 145.2
  },
  "luminance": 0.08014
}

Semantic roles & 50–950 ramp

primary
#0F5D1C
secondary
#963186
accent
#39D1EF
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #0F5D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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