#0F5819#0F5819

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

Color values

HEX#0F5819
RGBrgb(15, 88, 25)
HSLhsl(128, 71%, 20%)
HSVhsv(128, 83%, 35%)
CMYKcmyk(83%, 0%, 71.6%, 65.5%)
CIE-LABlab(32.15, -35.64, 29.41)
CIE-LCHlch(32.15, 46.21, 140.47°)
OKLaboklab(40.33% -0.0962 0.068)
OKLCHoklch(40.33% 0.118 144.7)
XYZxyz(3.8619, 7.1507, 2.0962)
Luminance0.0715 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5819 #580F4E
analogous
#2A580F #0F5819 #0F583D
triadic
#0F5819 #190F58 #58190F
tetradic
#0F5819 #0F2A58 #580F4E #583D0F
square
#0F5819 #0F2A58 #580F4E #583D0F
split-complementary
#0F5819 #3D0F58 #580F2A
monochromatic
#041A07 #06240A #0F5819 #188C28 #21C137

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F5819#FFFFFF#000000##FFFFFF
##0F58191.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)
#5A4F11
Deuteranopia (green-blind)
#52491F
Tritanopia (blue-blind)
#00554B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #0f5819;
/* rgb */ color: rgb(15, 88, 25);
/* oklch */ color: oklch(40.3% 0.118 144.7);
Tailwind
colors: {
  custom: {
    50: '#5c8859',
    500: '#0f5819',
    950: '#000000',
  },
}
SCSS
$custom: #0f5819;
$custom-light: #5c8859;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5819",
  "rgb": {
    "r": 15,
    "g": 88,
    "b": 25
  },
  "hsl": {
    "h": 128.219,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.40332,
    "c": 0.11784,
    "h": 144.7
  },
  "luminance": 0.07151
}

Semantic roles & 50–950 ramp

primary
#0F5819
secondary
#923184
accent
#3AD5EE
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #0F5819

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

Preview Lab → · Contrast checker → · Palette generator →

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