#0F5917#0F5917

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

Color values

HEX#0F5917
RGBrgb(15, 89, 23)
HSLhsl(126, 71%, 20%)
HSVhsv(126, 83%, 35%)
CMYKcmyk(83.1%, 0%, 74.2%, 65.1%)
CIE-LABlab(32.50, -36.23, 30.72)
CIE-LCHlch(32.50, 47.51, 139.71°)
OKLaboklab(40.62% -0.0979 0.0705)
OKLCHoklch(40.62% 0.121 144.2)
XYZxyz(3.9238, 7.3077, 2.0142)
Luminance0.0731 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5917 #590F51
analogous
#2C590F #0F5917 #0F593C
triadic
#0F5917 #170F59 #59170F
tetradic
#0F5917 #0F2C59 #590F51 #593C0F
square
#0F5917 #0F2C59 #590F51 #593C0F
split-complementary
#0F5917 #3C0F59 #590F2C
monochromatic
#041A07 #062509 #0F5917 #188D25 #21C232

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F5917#FFFFFF#000000##FFFFFF
##0F59171.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)
#5B500D
Deuteranopia (green-blind)
#534A1D
Tritanopia (blue-blind)
#00564C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #0f5917;
/* rgb */ color: rgb(15, 89, 23);
/* oklch */ color: oklch(40.6% 0.121 144.2);
Tailwind
colors: {
  custom: {
    50: '#5d8958',
    500: '#0f5917',
    950: '#000000',
  },
}
SCSS
$custom: #0f5917;
$custom-light: #5d8958;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5917",
  "rgb": {
    "r": 15,
    "g": 89,
    "b": 23
  },
  "hsl": {
    "h": 126.486,
    "s": 71.154,
    "l": 20.392
  },
  "oklch": {
    "l": 0.40616,
    "c": 0.1207,
    "h": 144.2
  },
  "luminance": 0.07308
}

Semantic roles & 50–950 ramp

primary
#0F5917
secondary
#933188
accent
#3ADAEE
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #0F5917

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

Preview Lab → · Contrast checker → · Palette generator →

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