#0F5818#0F5818

#0F5818 is a dark, moderate green. Relative luminance 0.071; OKLCH L 40.3% C 0.119 H 144.5°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#0F5818
RGBrgb(15, 88, 24)
HSLhsl(127, 71%, 20%)
HSVhsv(127, 83%, 35%)
CMYKcmyk(83%, 0%, 72.7%, 65.5%)
CIE-LABlab(32.14, -35.76, 29.87)
CIE-LCHlch(32.14, 46.59, 140.12°)
OKLaboklab(40.32% -0.0966 0.0689)
OKLCHoklch(40.32% 0.119 144.5)
XYZxyz(3.8513, 7.1465, 2.0404)
Luminance0.0715 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5818 #580F4F
analogous
#2B580F #0F5818 #0F583C
triadic
#0F5818 #180F58 #58180F
tetradic
#0F5818 #0F2B58 #580F4F #583C0F
square
#0F5818 #0F2B58 #580F4F #583C0F
split-complementary
#0F5818 #3C0F58 #580F2B
monochromatic
#041A07 #06240A #0F5818 #188C26 #21C135

Accessibility & contrast

On white

8.64
#0F5818 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#0F5818 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5818
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5818#FFFFFF#000000##FFFFFF
##0F58181.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F0F
Deuteranopia (green-blind)
#52491E
Tritanopia (blue-blind)
#00554B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #0f5818;
/* rgb */ color: rgb(15, 88, 24);
/* oklch */ color: oklch(40.3% 0.119 144.5);
Tailwind
colors: {
  custom: {
    50: '#5c8858',
    500: '#0f5818',
    950: '#000000',
  },
}
SCSS
$custom: #0f5818;
$custom-light: #5c8858;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5818",
  "rgb": {
    "r": 15,
    "g": 88,
    "b": 24
  },
  "hsl": {
    "h": 127.397,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.40321,
    "c": 0.11864,
    "h": 144.5
  },
  "luminance": 0.07147
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #0F5818

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

Preview Lab → · Contrast checker → · Palette generator →

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