#0F5D18#0F5D18

#0F5D18 is a dark, vivid green. Relative luminance 0.080; OKLCH L 41.8% C 0.125 H 144.3°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#0F5D18
RGBrgb(15, 93, 24)
HSLhsl(127, 72%, 21%)
HSVhsv(127, 84%, 36%)
CMYKcmyk(83.9%, 0%, 74.2%, 63.5%)
CIE-LABlab(33.97, -37.58, 31.84)
CIE-LCHlch(33.97, 49.25, 139.73°)
OKLaboklab(41.85% -0.1015 0.073)
OKLCHoklch(41.85% 0.125 144.3)
XYZxyz(4.2759, 7.9957, 2.1819)
Luminance0.0800 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5D18 #5D0F54
analogous
#2D5D0F #0F5D18 #0F5D3F
triadic
#0F5D18 #180F5D #5D180F
tetradic
#0F5D18 #0F2D5D #5D0F54 #5D3F0F
square
#0F5D18 #0F2D5D #5D0F54 #5D3F0F
split-complementary
#0F5D18 #3F0F5D #5D0F2D
monochromatic
#041A07 #06280A #0F5D18 #179226 #20C633

Accessibility & contrast

On white

8.08
#0F5D18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F5D18
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5D18#FFFFFF#000000##FFFFFF
##0F5D181.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f5d18;
/* rgb */ color: rgb(15, 93, 24);
/* oklch */ color: oklch(41.8% 0.125 144.3);
Tailwind
colors: {
  custom: {
    50: '#5e8c59',
    500: '#0f5d18',
    950: '#000000',
  },
}
SCSS
$custom: #0f5d18;
$custom-light: #5e8c59;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5d18",
  "rgb": {
    "r": 15,
    "g": 93,
    "b": 24
  },
  "hsl": {
    "h": 126.923,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41846,
    "c": 0.12507,
    "h": 144.3
  },
  "luminance": 0.07996
}

Semantic roles & 50–950 ramp

primary
#0F5D18
secondary
#96318B
accent
#39DAEF
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #0F5D18

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

Preview Lab → · Contrast checker → · Palette generator →

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