#0F5718#0F5718

#0F5718 is a dark, moderate green. Relative luminance 0.070; OKLCH L 40.0% C 0.117 H 144.6°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#0F5718
RGBrgb(15, 87, 24)
HSLhsl(128, 71%, 20%)
HSVhsv(128, 83%, 34%)
CMYKcmyk(82.8%, 0%, 72.4%, 65.9%)
CIE-LABlab(31.77, -35.39, 29.48)
CIE-LCHlch(31.77, 46.05, 140.21°)
OKLaboklab(40.01% -0.0956 0.068)
OKLCHoklch(40.01% 0.117 144.6)
XYZxyz(3.7698, 6.9835, 2.0132)
Luminance0.0698 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5718 #570F4E
analogous
#2A570F #0F5718 #0F573C
triadic
#0F5718 #180F57 #57180F
tetradic
#0F5718 #0F2A57 #570F4E #573C0F
square
#0F5718 #0F2A57 #570F4E #573C0F
split-complementary
#0F5718 #3C0F57 #570F2A
monochromatic
#051A07 #06230A #0F5718 #188B26 #21BF35

Accessibility & contrast

On white

8.76
#0F5718 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#0F5718 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5718
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5718#FFFFFF#000000##FFFFFF
##0F57181.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E10
Deuteranopia (green-blind)
#51491E
Tritanopia (blue-blind)
#00544A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #0f5718;
/* rgb */ color: rgb(15, 87, 24);
/* oklch */ color: oklch(40.0% 0.117 144.6);
Tailwind
colors: {
  custom: {
    50: '#5c8758',
    500: '#0f5718',
    950: '#000000',
  },
}
SCSS
$custom: #0f5718;
$custom-light: #5c8758;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5718",
  "rgb": {
    "r": 15,
    "g": 87,
    "b": 24
  },
  "hsl": {
    "h": 127.5,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.40014,
    "c": 0.11733,
    "h": 144.6
  },
  "luminance": 0.06984
}

Semantic roles & 50–950 ramp

primary
#0F5718
secondary
#913185
accent
#3AD7ED
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #0F5718

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

Preview Lab → · Contrast checker → · Palette generator →

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