#0F5C18#0F5C18

#0F5C18 is a dark, vivid green. Relative luminance 0.078; OKLCH L 41.5% C 0.124 H 144.3°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#0F5C18
RGBrgb(15, 92, 24)
HSLhsl(127, 72%, 21%)
HSVhsv(127, 84%, 36%)
CMYKcmyk(83.7%, 0%, 73.9%, 63.9%)
CIE-LABlab(33.61, -37.22, 31.45)
CIE-LCHlch(33.61, 48.72, 139.80°)
OKLaboklab(41.54% -0.1006 0.0722)
OKLCHoklch(41.54% 0.124 144.3)
XYZxyz(4.1887, 7.8213, 2.1529)
Luminance0.0782 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5C18 #5C0F53
analogous
#2C5C0F #0F5C18 #0F5C3E
triadic
#0F5C18 #180F5C #5C180F
tetradic
#0F5C18 #0F2C5C #5C0F53 #5C3E0F
square
#0F5C18 #0F2C5C #5C0F53 #5C3E0F
split-complementary
#0F5C18 #3E0F5C #5C0F2C
monochromatic
#041A07 #06270A #0F5C18 #189126 #20C533

Accessibility & contrast

On white

8.19
#0F5C18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#0F5C18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5C18
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5C18#FFFFFF#000000##FFFFFF
##0F5C181.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E530E
Deuteranopia (green-blind)
#554D1F
Tritanopia (blue-blind)
#00594E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #0f5c18;
/* rgb */ color: rgb(15, 92, 24);
/* oklch */ color: oklch(41.5% 0.124 144.3);
Tailwind
colors: {
  custom: {
    50: '#5d8b59',
    500: '#0f5c18',
    950: '#000000',
  },
}
SCSS
$custom: #0f5c18;
$custom-light: #5d8b59;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5c18",
  "rgb": {
    "r": 15,
    "g": 92,
    "b": 24
  },
  "hsl": {
    "h": 127.013,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.41542,
    "c": 0.1238,
    "h": 144.3
  },
  "luminance": 0.07822
}

Semantic roles & 50–950 ramp

primary
#0F5C18
secondary
#95318A
accent
#39D9EF
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #0F5C18

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

Preview Lab → · Contrast checker → · Palette generator →

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