#0F5918#0F5918

#0F5918 is a dark, moderate green. Relative luminance 0.073; OKLCH L 40.6% C 0.120 H 144.5°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#0F5918
RGBrgb(15, 89, 24)
HSLhsl(127, 71%, 20%)
HSVhsv(127, 83%, 35%)
CMYKcmyk(83.1%, 0%, 73%, 65.1%)
CIE-LABlab(32.51, -36.12, 30.27)
CIE-LCHlch(32.51, 47.13, 140.04°)
OKLaboklab(40.63% -0.0976 0.0697)
OKLCHoklch(40.63% 0.12 144.5)
XYZxyz(3.9340, 7.3118, 2.0680)
Luminance0.0731 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5918 #590F50
analogous
#2B590F #0F5918 #0F593D
triadic
#0F5918 #180F59 #59180F
tetradic
#0F5918 #0F2B59 #590F50 #593D0F
square
#0F5918 #0F2B59 #590F50 #593D0F
split-complementary
#0F5918 #3D0F59 #590F2B
monochromatic
#041A07 #06250A #0F5918 #188D26 #21C234

Accessibility & contrast

On white

8.53
#0F5918 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#0F5918 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5918
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5918#FFFFFF#000000##FFFFFF
##0F59181.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B500F
Deuteranopia (green-blind)
#534A1E
Tritanopia (blue-blind)
#00564C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #0f5918;
/* rgb */ color: rgb(15, 89, 24);
/* oklch */ color: oklch(40.6% 0.120 144.5);
Tailwind
colors: {
  custom: {
    50: '#5c8958',
    500: '#0f5918',
    950: '#000000',
  },
}
SCSS
$custom: #0f5918;
$custom-light: #5c8958;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5918",
  "rgb": {
    "r": 15,
    "g": 89,
    "b": 24
  },
  "hsl": {
    "h": 127.297,
    "s": 71.154,
    "l": 20.392
  },
  "oklch": {
    "l": 0.40627,
    "c": 0.11994,
    "h": 144.5
  },
  "luminance": 0.07312
}

Semantic roles & 50–950 ramp

primary
#0F5918
secondary
#933187
accent
#3AD8EE
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #0F5918

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

Preview Lab → · Contrast checker → · Palette generator →

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