#0F5618#0F5618

#0F5618 is a dark, moderate green. Relative luminance 0.068; OKLCH L 39.7% C 0.116 H 144.6°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#0F5618
RGBrgb(15, 86, 24)
HSLhsl(128, 70%, 20%)
HSVhsv(128, 83%, 34%)
CMYKcmyk(82.6%, 0%, 72.1%, 66.3%)
CIE-LABlab(31.40, -35.02, 29.07)
CIE-LCHlch(31.40, 45.51, 140.30°)
OKLaboklab(39.71% -0.0946 0.0672)
OKLCHoklch(39.71% 0.116 144.6)
XYZxyz(3.6894, 6.8227, 1.9864)
Luminance0.0682 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5618 #560F4D
analogous
#29560F #0F5618 #0F563C
triadic
#0F5618 #180F56 #56180F
tetradic
#0F5618 #0F2956 #560F4D #563C0F
square
#0F5618 #0F2956 #560F4D #563C0F
split-complementary
#0F5618 #3C0F56 #560F29
monochromatic
#051A07 #062209 #0F5618 #188A27 #21BE35

Accessibility & contrast

On white

8.88
#0F5618 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#0F5618 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5618
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5618#FFFFFF#000000##FFFFFF
##0F56181.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D10
Deuteranopia (green-blind)
#50481E
Tritanopia (blue-blind)
#005449
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #0f5618;
/* rgb */ color: rgb(15, 86, 24);
/* oklch */ color: oklch(39.7% 0.116 144.6);
Tailwind
colors: {
  custom: {
    50: '#5c8658',
    500: '#0f5618',
    950: '#000000',
  },
}
SCSS
$custom: #0f5618;
$custom-light: #5c8658;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5618",
  "rgb": {
    "r": 15,
    "g": 86,
    "b": 24
  },
  "hsl": {
    "h": 127.606,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.39707,
    "c": 0.11601,
    "h": 144.6
  },
  "luminance": 0.06823
}

Semantic roles & 50–950 ramp

primary
#0F5618
secondary
#903184
accent
#3BD6ED
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #0F5618

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

Preview Lab → · Contrast checker → · Palette generator →

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