#0F4C18#0F4C18

#0F4C18 is a dark, moderate green. Relative luminance 0.053; OKLCH L 36.6% C 0.102 H 145.3°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#0F4C18
RGBrgb(15, 76, 24)
HSLhsl(129, 67%, 18%)
HSVhsv(129, 80%, 30%)
CMYKcmyk(80.3%, 0%, 68.4%, 70.2%)
CIE-LABlab(27.67, -31.18, 24.93)
CIE-LCHlch(27.67, 39.92, 141.35°)
OKLaboklab(36.61% -0.0842 0.0584)
OKLCHoklch(36.61% 0.102 145.3)
XYZxyz(2.9461, 5.3361, 1.7387)
Luminance0.0534 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4C18 #4C0F43
analogous
#254C0F #0F4C18 #0F4C36
triadic
#0F4C18 #180F4C #4C180F
tetradic
#0F4C18 #0F254C #4C0F43 #4C360F
square
#0F4C18 #0F254C #4C0F43 #4C360F
split-complementary
#0F4C18 #360F4C #4C0F25
monochromatic
#051A08 #051A08 #0F4C18 #197F28 #23B238

Accessibility & contrast

On white

10.16
#0F4C18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#0F4C18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4C18
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4C18#FFFFFF#000000##FFFFFF
##0F4C181.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4412
Deuteranopia (green-blind)
#463F1C
Tritanopia (blue-blind)
#004A41
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #0f4c18;
/* rgb */ color: rgb(15, 76, 24);
/* oklch */ color: oklch(36.6% 0.102 145.3);
Tailwind
colors: {
  custom: {
    50: '#597f57',
    500: '#0f4c18',
    950: '#000000',
  },
}
SCSS
$custom: #0f4c18;
$custom-light: #597f57;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4c18",
  "rgb": {
    "r": 15,
    "g": 76,
    "b": 24
  },
  "hsl": {
    "h": 128.852,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.36614,
    "c": 0.10243,
    "h": 145.3
  },
  "luminance": 0.05336
}

Semantic roles & 50–950 ramp

primary
#0F4C18
secondary
#86317A
accent
#3ED1EA
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #0F4C18

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

Preview Lab → · Contrast checker → · Palette generator →

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